Pinned nix channels to flake specific flake inputs

This commit is contained in:
ISnortPennies 2023-01-23 03:00:58 -05:00
parent b0b688c43f
commit 67b3e39735
13 changed files with 22 additions and 512 deletions

View file

@ -63,11 +63,27 @@
modules = [
./configuration.nix
./systems/desktop.nix
{
environment.etc = {
"nix/inputs/nixpkgs".source = inputs.nixpkgs.outPath;
"nix/inputs/home-manager".source = inputs.home-manager.outPath;
};
nix = {
nixPath = [
"nixpkgs=/etc/nix/inputs/nixpkgs"
"home-manager=/etc/nix/inputs/home-manager"
];
registry = {
nixpkgs.flake = nixpkgs;
suckless.flake = suckless;
};
};
}
home-manager.nixosModules.home-manager
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
useUserPackages = false;
extraSpecialArgs = {inherit spicetify-nix username;};
users = {
${username} = import ./home-manager/home.nix;