diff --git a/hosts/default.nix b/hosts/default.nix index 958209c..b6933aa 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -13,6 +13,20 @@ ]; }; + ops = { + system = "x86_64-linux"; + stateVersion = "26.05"; + user = "moons"; + path = ./ops; + + profiles = [ + "base" + "interface.cli" + "platform.vm" + "workload.remote-access" + ]; + }; + installer = { system = "x86_64-linux"; stateVersion = "26.05"; diff --git a/hosts/nix-example/hardware-configuration.nix b/hosts/nix-example/hardware-configuration.nix deleted file mode 100644 index 5d0be28..0000000 --- a/hosts/nix-example/hardware-configuration.nix +++ /dev/null @@ -1,36 +0,0 @@ -# Do not modify this file! It was generated by `nixos-generate-config` and may -# be overwritten by future invocations. -{ lib, modulesPath, ... }: -{ - imports = [ (modulesPath + "/profiles/qemu-guest.nix") ]; - - boot.initrd.availableKernelModules = [ - "ata_piix" - "uhci_hcd" - "virtio_pci" - "virtio_scsi" - "sd_mod" - "sr_mod" - ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = { - device = "/dev/disk/by-uuid/8f0eaec6-5dc9-4821-aa8d-fb6809b5a5bf"; - fsType = "ext4"; - }; - - fileSystems."/boot" = { - device = "/dev/disk/by-uuid/201C-961B"; - fsType = "vfat"; - options = [ - "fmask=0077" - "dmask=0077" - ]; - }; - - swapDevices = [ ]; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; -} diff --git a/hosts/nix-example/nixos.nix b/hosts/ops/nixos.nix similarity index 100% rename from hosts/nix-example/nixos.nix rename to hosts/ops/nixos.nix