migrate skinny to flakes
This commit is contained in:
parent
e88a84f237
commit
f2bd00ae70
2 changed files with 15 additions and 11 deletions
15
flake.nix
15
flake.nix
|
@ -58,6 +58,21 @@
|
|||
];
|
||||
specialArgs = { inherit inputs; };
|
||||
};
|
||||
skinnyv = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
(import ./nixos/boxes/skinnyv)
|
||||
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.cyryl = import ./nixos/home-manager;
|
||||
}
|
||||
|
||||
];
|
||||
specialArgs = { inherit inputs; };
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
networking.hostName = "skinnyv";
|
||||
|
||||
imports = [
|
||||
<home-manager/nixos>
|
||||
./hardware-configuration.nix
|
||||
../../boot.nix
|
||||
../../common.nix
|
||||
|
@ -22,14 +21,4 @@
|
|||
time.timeZone = "Europe/London";
|
||||
|
||||
fonts.fontconfig.enable = true;
|
||||
home-manager.users.cyryl = {...}: {
|
||||
imports = [
|
||||
../../home-manager
|
||||
];
|
||||
home.stateVersion = config.system.stateVersion;
|
||||
|
||||
nixpkgs.overlays = config.nixpkgs.overlays;
|
||||
nixpkgs.config = config.nixpkgs.config;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue