mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
46 lines
1.1 KiB
Nix
46 lines
1.1 KiB
Nix
{ pkgs, ... }:
|
|
{
|
|
sconfig = {
|
|
gnome = true;
|
|
profile = "desktop";
|
|
security-tools = true;
|
|
};
|
|
|
|
environment.persistence."/persist" = {
|
|
files = [
|
|
"/etc/machine-id"
|
|
"/etc/ssh/ssh_host_ed25519_key.pub"
|
|
"/etc/ssh/ssh_host_ed25519_key"
|
|
"/etc/ssh/ssh_host_rsa_key.pub"
|
|
"/etc/ssh/ssh_host_rsa_key"
|
|
];
|
|
directories = [
|
|
"/home"
|
|
"/var/log"
|
|
];
|
|
};
|
|
|
|
networking.search = [ "bck.me" ];
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
wine
|
|
vmware-horizon-client
|
|
];
|
|
|
|
services.openssh.enable = true;
|
|
|
|
boot = {
|
|
loader.systemd-boot.enable = true;
|
|
loader.efi.canTouchEfiVariables = true;
|
|
kernelParams = map (x: "video=DP-${x}:1280x720@60") [ "0" "1" "2" ];
|
|
};
|
|
|
|
fileSystems = {
|
|
"/" = { device = "tmpfs"; fsType = "tmpfs"; options = [ "mode=755" ]; };
|
|
"/boot" = { device = "/dev/disk/by-partlabel/_esp"; fsType = "vfat"; };
|
|
"/nix" = { device = "cube/locker/nix"; fsType = "zfs"; };
|
|
"/persist" = { device = "cube/locker/persist"; fsType = "zfs"; };
|
|
};
|
|
|
|
system.stateVersion = "21.05";
|
|
}
|