refactor start
This commit is contained in:
parent
bd49791e06
commit
e46d25f0b7
16699 changed files with 2 additions and 1484887 deletions
|
|
@ -1,52 +0,0 @@
|
|||
{
|
||||
conf,
|
||||
nixpkgs,
|
||||
home-manager,
|
||||
...
|
||||
} @ inputs: let
|
||||
inherit (conf) system;
|
||||
|
||||
pkgs = import ./nixpkgs.nix {inherit system nixpkgs;};
|
||||
|
||||
specialArgs = inputs;
|
||||
in {
|
||||
base = nixpkgs.lib.nixosSystem {
|
||||
inherit system specialArgs;
|
||||
|
||||
modules = [
|
||||
./common.nix
|
||||
./options.nix
|
||||
|
||||
conf.extraConfig
|
||||
conf.hardware-configuration
|
||||
|
||||
./base.nix
|
||||
./boot.nix
|
||||
];
|
||||
};
|
||||
|
||||
full = nixpkgs.lib.nixosSystem {
|
||||
inherit system specialArgs;
|
||||
|
||||
modules = [
|
||||
./common.nix
|
||||
./options.nix
|
||||
./packages.nix
|
||||
|
||||
conf.extraConfig
|
||||
conf.hardware-configuration
|
||||
|
||||
./full.nix
|
||||
./boot.nix
|
||||
|
||||
home-manager.nixosModules.home-manager
|
||||
({config, ...}: {
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
extraSpecialArgs = specialArgs // {system-config = config;};
|
||||
};
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue