diff options
-rw-r--r-- | users/flokli/nixos/archeology/OWNERS | 1 | ||||
-rw-r--r-- | users/flokli/nixos/archeology/configuration.nix | 19 | ||||
-rw-r--r-- | users/flokli/nixos/archeology/hardware-configuration.nix | 36 | ||||
-rw-r--r-- | users/flokli/nixos/default.nix | 8 |
4 files changed, 0 insertions, 64 deletions
diff --git a/users/flokli/nixos/archeology/OWNERS b/users/flokli/nixos/archeology/OWNERS deleted file mode 100644 index b9bc074a8020..000000000000 --- a/users/flokli/nixos/archeology/OWNERS +++ /dev/null @@ -1 +0,0 @@ -edef diff --git a/users/flokli/nixos/archeology/configuration.nix b/users/flokli/nixos/archeology/configuration.nix deleted file mode 100644 index 59438b0a72ad..000000000000 --- a/users/flokli/nixos/archeology/configuration.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ depot, pkgs, ... }: - -{ - imports = [ - ./hardware-configuration.nix - ../profiles/archeology.nix - ]; - - # Use the GRUB 2 boot loader. - boot.loader.grub.enable = true; - boot.loader.grub.device = "/dev/vda"; - - boot.kernelParams = [ "console=ttyS0" ]; - - networking.hostName = "archeology"; - - system.stateVersion = "23.05"; # Did you read the comment? -} - diff --git a/users/flokli/nixos/archeology/hardware-configuration.nix b/users/flokli/nixos/archeology/hardware-configuration.nix deleted file mode 100644 index 7b3d79d70a5d..000000000000 --- a/users/flokli/nixos/archeology/hardware-configuration.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ lib, modulesPath, ... }: - -{ - imports = - [ - (modulesPath + "/profiles/qemu-guest.nix") - ]; - - boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-amd" ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = - { - device = "/dev/disk/by-partlabel/root"; - fsType = "xfs"; - }; - - fileSystems."/boot" = - { - device = "/dev/disk/by-partlabel/boot"; - fsType = "vfat"; - }; - - swapDevices = [ ]; - - # Enables DHCP on each ethernet and wireless interface. In case of scripted networking - # (the default) this is the recommended approach. When using systemd-networkd it's - # still possible to use this option, but it's recommended to use it in conjunction - # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. - networking.useDHCP = lib.mkDefault true; - # networking.interfaces.enp1s0.useDHCP = lib.mkDefault true; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; -} diff --git a/users/flokli/nixos/default.nix b/users/flokli/nixos/default.nix index c93363785cf1..9ed223a90896 100644 --- a/users/flokli/nixos/default.nix +++ b/users/flokli/nixos/default.nix @@ -13,23 +13,15 @@ let in depot.nix.readTree.drvTargets rec { - archeologySystem = (depot.ops.nixos.nixosFor ({ ... }: { - imports = [ - ./archeology/configuration.nix - ]; - })).config.system.build.toplevel; - archeologyEc2System = (depot.ops.nixos.nixosFor ({ ... }: { imports = [ ./archeology-ec2/configuration.nix ]; })).config.system.build.toplevel; - deploy-archeology = (deployScript "archeology" archeologySystem); deploy-archeology-ec2 = (deployScript "archeology-ec2" archeologyEc2System); deps = (depot.nix.lazy-deps { - deploy-archeology.attr = "users.flokli.nixos.deploy-archeology"; deploy-archeology-ec2.attr = "users.flokli.nixos.deploy-archeology-ec2"; }); |