From 9e1fb8e4a4699549876e8ae186eb702babe11821 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Sun, 18 Jun 2023 16:41:16 -0400 Subject: [PATCH] Remove hyperv vm --- flake.nix | 10 -------- machines/hyperv/configuration.nix | 28 ---------------------- machines/hyperv/home.nix | 40 ------------------------------- 3 files changed, 78 deletions(-) delete mode 100644 machines/hyperv/configuration.nix delete mode 100644 machines/hyperv/home.nix diff --git a/flake.nix b/flake.nix index d6248ff..50f7596 100644 --- a/flake.nix +++ b/flake.nix @@ -260,16 +260,6 @@ ]; }; }; - packages = { - x86_64-linux = { - # Hyper-V image - hyperv = nixos-generators.nixosGenerate { - pkgs = nixpkgs.legacyPackages.x86_64-linux; - modules = [ ./machines/hyperv/configuration.nix ]; - format = "hyperv"; - }; - }; - }; } // flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { diff --git a/machines/hyperv/configuration.nix b/machines/hyperv/configuration.nix deleted file mode 100644 index 8fe25b4..0000000 --- a/machines/hyperv/configuration.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ config, lib, pkgs, ... }: - -{ - # Setup system configuration - nathan = { - config = { - isDesktop = true; - setupGrub = true; - nix.autoUpdate = false; - harden = false; - }; - }; - # Configure networking - networking = { - domain = "mccarty.io"; - useDHCP = false; - interfaces.enp6s0.useDHCP = true; - nat.externalInterface = "enp6s0"; - # Open ports for soulseek - firewall = { - allowedTCPPorts = [ 61377 ]; - allowedUDPPorts = [ 61377 ]; - }; - }; - - # Setup home manager - home-manager.users.nathan = import ./home.nix; -} diff --git a/machines/hyperv/home.nix b/machines/hyperv/home.nix deleted file mode 100644 index 003206a..0000000 --- a/machines/hyperv/home.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ config, lib, pkgs, ... }: - -{ - nathan = { - services = { email = { enable = true; }; }; - config = { isDesktop = true; }; - }; - - # # Sway outputs - # wayland.windowManager.sway.config = { - # output = { - # DP-1 = { - # pos = "0 140"; - # scale = "1"; - # subpixel = "rgb"; - # }; - # DP-3 = { - # pos = "2560 0"; - # scale = "1.25"; - # subpixel = "rgb"; - # }; - # HDMI-A-1 = { - # pos = "5632 140"; - # scale = "1"; - # subpixel = "rgb"; - # }; - # }; - # startup = [ - # # GLPaper - # { command = "glpaper DP-1 ${../../custom-files/sway/selen.frag} --fork"; } - # { command = "glpaper DP-3 ${../../custom-files/sway/selen.frag} --fork"; } - # { command = "glpaper HDMI-A-1 ${../../custom-files/sway/selen.frag} --fork"; } - # ]; - # }; - # # Mako output configuration - # programs.mako = { - # # Lock mako notifs to main display - # output = "DP-3"; - # }; -}