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