Refactor codebase to use nix modules
This commit is contained in:
parent
a4735423b4
commit
ffada2703c
114 changed files with 1018 additions and 744 deletions
13
flake.nix
13
flake.nix
|
|
@ -17,17 +17,18 @@
|
|||
ags.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
outputs = { nixpkgs, home-manager, hyprland, ... }@inputs: let
|
||||
outputs = { nixpkgs, home-manager, ... }@inputs:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in {
|
||||
homeConfigurations."pan" = home-manager.lib.homeManagerConfiguration {
|
||||
defaultConfig = extraModules: home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
extraSpecialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
hyprland.homeManagerModules.default
|
||||
./home.nix
|
||||
];
|
||||
./hmModules
|
||||
] ++ extraModules;
|
||||
};
|
||||
in {
|
||||
homeConfigurations.pan = defaultConfig [ ./systems/pan ];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue