From 7f10e2b8175ec12d2d79aa340a075e50ffc5d48e Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 27 Nov 2024 18:52:28 +0800 Subject: [PATCH] nixops: remove juno --- nixops/juno-hardware-configuration.nix | 42 -------------------------- nixops/nixops.nix | 1 - 2 files changed, 43 deletions(-) delete mode 100644 nixops/juno-hardware-configuration.nix diff --git a/nixops/juno-hardware-configuration.nix b/nixops/juno-hardware-configuration.nix deleted file mode 100644 index df480ca..0000000 --- a/nixops/juno-hardware-configuration.nix +++ /dev/null @@ -1,42 +0,0 @@ -# Do not modify this file! It was generated by ‘nixos-generate-config’ -# and may be overwritten by future invocations. Please make changes -# to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, modulesPath, ... }: - -{ - imports = - [ (modulesPath + "/installer/scan/not-detected.nix") - ]; - - boot.initrd.availableKernelModules = [ "ehci_pci" "ata_piix" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-intel" ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = - { device = "/dev/disk/by-uuid/3dca09c8-f725-416a-9f89-b69297698ca9"; - fsType = "ext4"; - }; - - 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..useDHCP`. - networking.useDHCP = lib.mkDefault true; - # networking.interfaces.enp5s0.useDHCP = lib.mkDefault true; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.intel.updateMicrocode = true; - - boot.loader.grub.enable = true; - boot.loader.grub.device = "/dev/sda"; - - nixpkgs.config.nvidia.acceptLicense = true; - hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.legacy_470; - services.xserver.videoDrivers = [ "nvidia" ]; - services.xserver.displayManager.gdm.wayland = false; - - system.stateVersion = "23.05"; -} diff --git a/nixops/nixops.nix b/nixops/nixops.nix index 9178b59..6f2ad79 100644 --- a/nixops/nixops.nix +++ b/nixops/nixops.nix @@ -13,7 +13,6 @@ chiron = import ./desktop.nix { host = "chiron"; }; old-nixbld = import ./desktop.nix { host = "old-nixbld"; }; franz = import ./desktop.nix { host = "franz"; }; - juno = import ./desktop.nix { host = "juno"; }; demeter = import ./desktop.nix { host = "demeter"; }; vulcan = import ./desktop.nix { host = "vulcan"; }; rc = import ./desktop.nix { host = "rc"; };