Update inputs and add captpucino
This commit is contained in:
parent
c81ffb64a9
commit
3f4a4c838d
2 changed files with 36 additions and 14 deletions
10
flake.nix
10
flake.nix
|
@ -9,6 +9,8 @@
|
|||
home-manager.url = "github:nix-community/home-manager/master";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs-stable";
|
||||
|
||||
catppuccin.url = "github:catppuccin/nix";
|
||||
|
||||
fcc-unlock = {
|
||||
url = "git+file:///etc/nixos/fcc-unlock";
|
||||
inputs.nixos-stable.follows = "nixpkgs-stable";
|
||||
|
@ -17,7 +19,7 @@
|
|||
};
|
||||
|
||||
outputs = { self, nixpkgs-unstable, nixpkgs-stable, home-manager
|
||||
, nixos-hardware, fcc-unlock, ... }@inputs:
|
||||
, nixos-hardware, fcc-unlock, catppuccin, ... }@inputs:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgsUnstable = import nixpkgs-unstable {
|
||||
|
@ -47,7 +49,10 @@
|
|||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
extraSpecialArgs = sharedSpecialArgs;
|
||||
users.fhauser = import ./home/fhauser/default.nix;
|
||||
users.fhauser.imports = [
|
||||
./home/fhauser/default.nix
|
||||
catppuccin.homeManagerModules.catppuccin
|
||||
];
|
||||
};
|
||||
};
|
||||
mapHostnameToAttr = host:
|
||||
|
@ -58,6 +63,7 @@
|
|||
};
|
||||
modules = [
|
||||
home-manager.nixosModules.home-manager
|
||||
catppuccin.nixosModules.catppuccin
|
||||
./host/${host}/default.nix
|
||||
] ++ (if host == "bachtel" then [ ] else [ home-manager-config ]);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue