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";
};
outputs = { self, nixpkgs, ... }@inputs: {
nixosConfigurations.prismo = nixpkgs.lib.nixosSystem {
outputs = { self, nixpkgs, ... }@inputs:
let
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
./configuration.nix
./podman.nix
./fonts.nix
./users.nix
];
};
user = "torjus";
in {
nixosConfigurations.prismo = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs self user; };
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
];
}