diff --git a/flake.nix b/flake.nix index 9e6f43f..a664839 100644 --- a/flake.nix +++ b/flake.nix @@ -36,19 +36,10 @@ sshUser = "ravenshade"; user = "root"; sshOpts = [ "-A" ]; - nodes = { - virtmsi = { - hostname = "virtmsi"; - profiles.system.path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.virtmsi; - fastConnection = true; - interactiveSudo = true; - }; - - permafrost = { - hostname = "permafrost"; - profiles.system.path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.permafrost; - interactiveSudo = true; - }; + nodes.permafrost = { + hostname = "permafrost"; + profiles.system.path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.permafrost; + interactiveSudo = true; }; }; diff --git a/hosts/virtmsi/configuration.nix b/hosts/virtmsi/configuration.nix deleted file mode 100644 index 387fb2c..0000000 --- a/hosts/virtmsi/configuration.nix +++ /dev/null @@ -1,46 +0,0 @@ -{ pkgs, ... }: - -{ - # Bootloader. - boot.loader.grub.enable = true; - boot.loader.grub.device = "/dev/vda"; - - permafrost.nyazoom.enable = true; - - networking.hostName = "virtmsi"; # Define your hostname. - - # Allowing ssh auth - security.pam.sshAgentAuth.enable = true; - - # Allow unfree packages - nixpkgs.config.allowUnfree = true; - nix.settings = { - auto-optimise-store = true; - experimental-features = [ "nix-command" "flakes" ]; - - trusted-users = [ - "ravenshade" - ]; - }; - - # Enable networking - networking.networkmanager.enable = true; - - # Define a user account. Don't forget to set a password with ‘passwd’. - users.users.ravenshade = { - isNormalUser = true; - description = "Zynh Ludwig"; - extraGroups = [ "networkmanager" "wheel" ]; - }; - - # List packages installed in system profile. To search, run: - # $ nix search wget - environment.systemPackages = with pkgs; [ - neovim - git - curl - ]; - - system.stateVersion = "24.05"; - -} diff --git a/hosts/virtmsi/hardware-configuration.nix b/hosts/virtmsi/hardware-configuration.nix deleted file mode 100644 index 6425a47..0000000 --- a/hosts/virtmsi/hardware-configuration.nix +++ /dev/null @@ -1,33 +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 + "/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-uuid/11a1fca7-c3f9-44dd-ae58-a362fd2980ac"; - fsType = "ext4"; - }; - - swapDevices = - [ { device = "/dev/disk/by-uuid/12389f3a-f05b-4b28-8228-b6fe5bf3437a"; } - ]; - - # 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.enp1s0.useDHCP = lib.mkDefault true; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; -}