feat(nixos): add common nixos profile; move hostspec config
This commit is contained in:
parent
4269f0bb05
commit
5c8d740075
3 changed files with 18 additions and 14 deletions
|
@ -1,17 +1,9 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
flake.hostSpec.hosts = {
|
||||
"nixos/test".extraCfg = {
|
||||
imports = with config.flake.modules.nixos; [ networking ];
|
||||
config = {
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
fileSystems."/" = {
|
||||
device = "/dev/sda1";
|
||||
fsType = "ext4";
|
||||
};
|
||||
nixpkgs.hostPlatform = "x86_64-linux";
|
||||
system.stateVersion = "25.05";
|
||||
};
|
||||
flake.hostSpec.hosts."nixos/test".extraCfg = {
|
||||
fileSystems."/" = {
|
||||
device = "/dev/sda1";
|
||||
fsType = "ext4";
|
||||
};
|
||||
nixpkgs.hostPlatform = "x86_64-linux";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue