This commit is contained in:
emily 2024-02-27 16:47:43 +01:00
parent 33f7ef689c
commit d8b97ed1ca
Signed by: emily
GPG key ID: F6F4C66207FCF995
4 changed files with 20 additions and 19 deletions

View file

@ -2,6 +2,7 @@
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
(modulesPath + "/profiles/qemu-guest.nix")
./config/common/users
];
boot.loader = {
@ -11,7 +12,7 @@
services.openssh.enable = true;
environment.systemPackages = map lib.lowPrio [
environment.systemPackages = [
pkgs.curl
pkgs.gitMinimal
];

View file

@ -4,6 +4,7 @@
../../common
../../profiles/graphical
./hardware-configuration.nix
./disko.nix
];
boot.extraModprobeConfig = ''
@ -25,7 +26,7 @@
};
deployment = {
targetHost = "192.168.122.159";
targetHost = "192.168.122.152";
targetUser = "emily";
};

View file

@ -24,7 +24,6 @@
name = "nixos";
type = "luks";
settings.allowDiscards = true;
settings.keyFile = "/tmp/disk.key";
content = {
type = "btrfs";
extraArgs = [ "-f" ];

View file

@ -10,22 +10,22 @@
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/92cdb49a-4f15-4880-bf25-2ff1de20119c";
fsType = "btrfs";
options = [ "subvol=nixos" ];
};
fileSystems."/home" =
{ device = "/dev/disk/by-uuid/92cdb49a-4f15-4880-bf25-2ff1de20119c";
fsType = "btrfs";
options = [ "subvol=home" ];
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/DB0D-757F";
fsType = "vfat";
};
# fileSystems."/" =
# { device = "/dev/disk/by-uuid/92cdb49a-4f15-4880-bf25-2ff1de20119c";
# fsType = "btrfs";
# options = [ "subvol=nixos" ];
# };
#
# fileSystems."/home" =
# { device = "/dev/disk/by-uuid/92cdb49a-4f15-4880-bf25-2ff1de20119c";
# fsType = "btrfs";
# options = [ "subvol=home" ];
# };
#
# fileSystems."/boot" =
# { device = "/dev/disk/by-uuid/DB0D-757F";
# fsType = "vfat";
# };
swapDevices = [ ];