hosts/lenny: init

This commit is contained in:
Sean Buckley 2021-05-04 16:58:26 -04:00
parent 30d7a5382e
commit 632ee725ab
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ pkgs, ... }:
{
environment.systemPackages = [ pkgs.vmware-horizon-client ];
services.tlp.enable = true;
services.openssh.enable = true;
networking.search = [ "bck.me" ];
sconfig = {
profile = "desktop";
gnome = true;
security-tools = 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" "compress=zstd" ]; };
"/nix" = { device = "/dev/disk/by-id/wwn-0x5002538043584d30"; fsType = "btrfs"; options = [ "compress=zstd" "discard" ]; };
"/boot" = { device = "/dev/disk/by-partlabel/_esp"; fsType = "vfat"; };
};
system.stateVersion = "21.05";
}

5
hosts/lenny/default.nix Normal file
View file

@ -0,0 +1,5 @@
{
pkgs = "unstable";
system = "x86_64-linux";
hardware = "physical";
}