añade nix.registry, elimina algunos programas de path.nix
This commit is contained in:
parent
5c41514795
commit
54cb08a22e
|
@ -7,16 +7,15 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1647175256,
|
||||
"narHash": "sha256-7H+veXPM7IwdN1DoZqliwb9sghlN56koV5dnCu1kpsc=",
|
||||
"lastModified": 1647903177,
|
||||
"narHash": "sha256-9aWSpW/F8POA/7cuVpoqhVGfjAgcGRIinwxUaXmUpkk=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "a8d00f5c038cf7ec54e7dac9c57b171c1217f008",
|
||||
"rev": "80b4360678fa7890964ba8e40a722985bf8d107e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"ref": "release-21.11",
|
||||
"repo": "home-manager",
|
||||
"type": "github"
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
nur.url = "github:nix-community/NUR";
|
||||
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager/release-21.11";
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
@ -18,7 +18,7 @@
|
|||
|
||||
homeConfigurations."fabian@posixlycorrect" = home-manager.lib.homeManagerConfiguration {
|
||||
system = "x86_64-linux";
|
||||
configuration = import ./home;
|
||||
configuration = import ./home {inherit nixpkgs;};
|
||||
username = "fabian";
|
||||
homeDirectory = "/home/fabian";
|
||||
stateVersion = "21.11";
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# man page: https://rycee.gitlab.io/home-manager/options.html
|
||||
|
||||
{ nixpkgs }:
|
||||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
|
||||
|
@ -10,10 +11,12 @@
|
|||
packages = import ./path.nix pkgs;
|
||||
};
|
||||
|
||||
# nix.registry."system".to = {
|
||||
# type = "path";
|
||||
# path = "/home/fabian/nix";
|
||||
# };
|
||||
nix.registry."system".to = {
|
||||
type = "path";
|
||||
path = "/home/fabian/nix";
|
||||
};
|
||||
|
||||
nix.registry."nixpkgs".flake = nixpkgs;
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
programs.home-manager.enable = true;
|
||||
|
|
|
@ -1,15 +1,11 @@
|
|||
pkgs: with pkgs; [
|
||||
betterlockscreen
|
||||
calc
|
||||
cmake
|
||||
discord
|
||||
file
|
||||
firefox
|
||||
gnupg
|
||||
jetbrains.pycharm-professional
|
||||
jq
|
||||
killall
|
||||
octaveFull
|
||||
pipenv
|
||||
rustup
|
||||
signal-desktop
|
||||
|
|
Loading…
Reference in a new issue