mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
Pinned nix channels to flake specific flake inputs
This commit is contained in:
parent
b0b688c43f
commit
67b3e39735
13 changed files with 22 additions and 512 deletions
18
flake.nix
18
flake.nix
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue