Create host-specific folder

This commit is contained in:
Torjus Håkestad 2024-02-27 09:47:30 +01:00
parent 539464e12a
commit 78992b130b
8 changed files with 25 additions and 10 deletions

View File

@ -5,16 +5,17 @@
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
}; };
outputs = { self, nixpkgs, ... }@inputs: { outputs = { self, nixpkgs, ... }@inputs:
nixosConfigurations.prismo = nixpkgs.lib.nixosSystem { let
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = { inherit inputs; }; user = "torjus";
modules = [ in {
./configuration.nix nixosConfigurations.prismo = nixpkgs.lib.nixosSystem {
./podman.nix system = "x86_64-linux";
./fonts.nix specialArgs = { inherit inputs self user; };
./users.nix modules = [
]; ./hosts/prismo
}; ];
};
}; };
} }

7
hosts/prismo/default.nix Normal file
View File

@ -0,0 +1,7 @@
{ inputs, self, pks, ...}: {
imports = [
./configuration.nix
./hardware-configuration.nix
../../system
];
}

7
system/default.nix Normal file
View File

@ -0,0 +1,7 @@
{
imports = [
./podman.nix
./fonts.nix
./users.nix
];
}