summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorQuentin Aristote <quentin@aristote.fr>2022-11-13 21:55:15 +0100
committerQuentin Aristote <quentin@aristote.fr>2022-11-13 21:55:15 +0100
commitab779a7476acc3a5b6dc350badd67f72f9402d6e (patch)
tree9fb628cf1a019360cb470f45fec55b52e0ae2c64 /config
parent9c49e96889785c4ec1fd1a398f4a8ff4306863fc (diff)
remove hardware configuration from test config
Diffstat (limited to 'config')
-rw-r--r--config/default.nix1
-rw-r--r--config/hardware-configuration.nix27
2 files changed, 0 insertions, 28 deletions
diff --git a/config/default.nix b/config/default.nix
index 9cb4668..b35ce72 100644
--- a/config/default.nix
+++ b/config/default.nix
@@ -6,7 +6,6 @@
(modulesPath + "/profiles/minimal.nix")
./boot.nix
./environment.nix
- ./hardware-configuration.nix
./networking.nix
./services
./users.nix
diff --git a/config/hardware-configuration.nix b/config/hardware-configuration.nix
deleted file mode 100644
index 1b79e6f..0000000
--- a/config/hardware-configuration.nix
+++ /dev/null
@@ -1,27 +0,0 @@
-{ pkgs, lib, modulesPath, ... }:
-
-{
- imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
-
- boot.initrd.availableKernelModules =
- [ "ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk" ];
- boot.initrd.kernelModules = [ ];
- boot.kernelModules = [ "kvm-amd" ];
- boot.extraModulePackages = [ ];
-
- fileSystems."/" = {
- device = "/dev/disk/by-uuid/2b302948-5608-41c6-b54c-1c0e39ff6a58";
- fsType = "ext4";
- };
-
- boot.initrd.luks.devices."root".device =
- "/dev/disk/by-uuid/eaec758b-ba22-42ab-8992-e765cec9be55";
-
- fileSystems."/boot" = {
- device = "/dev/disk/by-uuid/74d78eba-c29a-4724-8fb7-624e0a03faa5";
- fsType = "ext4";
- };
-
- swapDevices = [{ device = "/swap"; }];
-
-}