From 5897af1a6c355f77c78f342d1d6f070670d14a4c Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Sat, 14 Oct 2023 10:53:18 -0400 Subject: remove redundant system folder. add useful programs. --- systems/jontest/default.nix | 22 ---------------------- systems/jontest/filesystem.nix | 11 ----------- systems/jontest/hardware-configuration.nix | 7 ------- 3 files changed, 40 deletions(-) delete mode 100644 systems/jontest/default.nix delete mode 100644 systems/jontest/filesystem.nix delete mode 100644 systems/jontest/hardware-configuration.nix (limited to 'systems/jontest') diff --git a/systems/jontest/default.nix b/systems/jontest/default.nix deleted file mode 100644 index b2a7f82..0000000 --- a/systems/jontest/default.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ lib, modulesPath, pkgs, ... }: - -{ - imports = - [ # Include the results of the hardware scan. - (modulesPath + "/profiles/qemu-guest.nix") - ./filesystem.nix - ]; - - boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "virtio_scsi" "sr_mod" "virtio_blk" ]; - boot.kernelPackages = pkgs.linuxPackages_latest; - - # Bootloader. - boot.loader.grub.enable = true; - boot.loader.grub.device = "/dev/vda"; - boot.loader.grub.useOSProber = true; - - services.qemuGuest.enable = true; - services.spice-vdagentd.enable = true; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; -} diff --git a/systems/jontest/filesystem.nix b/systems/jontest/filesystem.nix deleted file mode 100644 index e247a9d..0000000 --- a/systems/jontest/filesystem.nix +++ /dev/null @@ -1,11 +0,0 @@ -{ ... }: -{ - fileSystems."/" = - { device = "/dev/disk/by-uuid/a6804a93-979a-4596-879d-8b2fe8332541"; - fsType = "ext4"; - }; - - swapDevices = - [ { device = "/dev/disk/by-uuid/e6e941fe-f3a4-4b5e-960c-74d65e1e6257"; } - ]; -} diff --git a/systems/jontest/hardware-configuration.nix b/systems/jontest/hardware-configuration.nix deleted file mode 100644 index 62427e0..0000000 --- a/systems/jontest/hardware-configuration.nix +++ /dev/null @@ -1,7 +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, ... }: - -{ -} -- cgit v1.2.1