refactor: moved stuff around
This commit is contained in:
parent
8c237b9604
commit
7d5e25bdfe
11 changed files with 124 additions and 169 deletions
13
flake.nix
13
flake.nix
|
@ -9,12 +9,19 @@
|
|||
name = "${hostname}";
|
||||
value =
|
||||
let
|
||||
args = { inherit self inputs type; };
|
||||
args = {
|
||||
inherit
|
||||
self
|
||||
inputs
|
||||
type
|
||||
hostname
|
||||
;
|
||||
};
|
||||
in
|
||||
inputs.nixpkgs.lib.nixosSystem {
|
||||
specialArgs = args;
|
||||
modules = [
|
||||
./systems/${hostname}.nix
|
||||
./systems
|
||||
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
{
|
||||
|
@ -32,10 +39,8 @@
|
|||
};
|
||||
in
|
||||
{
|
||||
# System Configurations
|
||||
nixosConfigurations = builtins.listToAttrs [
|
||||
(mkSystem "desktop" "nemesis")
|
||||
(mkSystem "desktop" "mellinoe")
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue