mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
27 lines
813 B
Nix
27 lines
813 B
Nix
{ pkgs, ... }:
|
|
{
|
|
services.openssh.enable = true;
|
|
|
|
networking.search = [ "bck.me" ];
|
|
|
|
sconfig = {
|
|
profile = "desktop";
|
|
gnome = true;
|
|
security-tools = true;
|
|
};
|
|
|
|
boot = {
|
|
loader.timeout = pkgs.lib.mkForce 3;
|
|
loader.grub.enable = true;
|
|
loader.grub.device = "/dev/disk/by-id/wwn-0x50000391e71024d6";
|
|
initrd.luks.devices.cryptroot = { device = "/dev/disk/by-id/wwn-0x50000391e71024d6-part2"; };
|
|
};
|
|
|
|
fileSystems = {
|
|
"/" = { device = "/dev/mapper/cryptroot"; fsType = "btrfs"; options = [ "subvol=/os" "compress=zstd" ]; };
|
|
"/home" = { device = "/dev/mapper/cryptroot"; fsType = "btrfs"; options = [ "subvol=/home" "compress=zstd" ]; };
|
|
"/boot" = { device = "/dev/disk/by-id/wwn-0x50000391e71024d6-part1"; fsType = "ext4"; };
|
|
};
|
|
|
|
system.stateVersion = "21.05";
|
|
}
|