2021-06-12 02:54:02 +00:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
|
|
|
sconfig = {
|
|
|
|
profile = "desktop";
|
2021-09-29 02:24:03 +00:00
|
|
|
hardware = "physical";
|
2021-06-12 02:54:02 +00:00
|
|
|
gnome = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
boot = {
|
|
|
|
loader.systemd-boot.enable = true;
|
|
|
|
loader.efi.canTouchEfiVariables = true;
|
|
|
|
initrd.luks.devices.cryptroot = { device = "/dev/disk/by-partlabel/_luks"; };
|
|
|
|
};
|
|
|
|
|
|
|
|
fileSystems = {
|
|
|
|
"/" = { device = "/dev/mapper/cryptroot"; fsType = "btrfs"; options = [ "subvol=/os" "discard" "compress=zstd" ]; };
|
|
|
|
"/home" = { device = "/dev/mapper/cryptroot"; fsType = "btrfs"; options = [ "subvol=/home" "discard" "compress=zstd" ]; };
|
|
|
|
"/boot" = { device = "/dev/disk/by-partlabel/_esp"; fsType = "vfat"; };
|
|
|
|
};
|
|
|
|
|
|
|
|
system.stateVersion = "21.05";
|
|
|
|
}
|