added system newHost
This commit is contained in:
@@ -3,8 +3,10 @@
|
|||||||
inputs,
|
inputs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
flake.nixosConfigurations.newHost =
|
flake.nixosConfigurations.newHost = inputs.nixpkgs.lib.nixosSystem {
|
||||||
inputs.nixpkgs.lib.nixosSystem {
|
modules = with self.nixosModules; [
|
||||||
|
newHostConfiguration
|
||||||
};
|
system
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
11
modules/hosts/newHost/system.nix
Normal file
11
modules/hosts/newHost/system.nix
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{...}: {
|
||||||
|
flake.nixosModules.newHostConfiguration = {pkgs, ...}: {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
fastfetch
|
||||||
|
];
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
/etc/nixos/hardware-configuration.nix
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user