2021-05-19 05:38:05 +00:00
|
|
|
{ pkgs, ... }:
|
2021-04-10 16:55:17 +00:00
|
|
|
{
|
|
|
|
services = {
|
|
|
|
openssh.enable = true;
|
|
|
|
};
|
|
|
|
|
2021-10-10 08:21:36 +00:00
|
|
|
users.mutableUsers = false;
|
|
|
|
users.users.root.passwordFile = "/nix/persist/shadow_sean";
|
|
|
|
users.users.sean.passwordFile = "/nix/persist/shadow_sean";
|
|
|
|
|
2021-10-11 02:32:20 +00:00
|
|
|
environment.etc."NetworkManager/system-connections".source =
|
|
|
|
"/nix/persist/etc/NetworkManager/system-connections";
|
|
|
|
|
2021-10-10 08:21:36 +00:00
|
|
|
environment.persistence."/nix/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 = [
|
|
|
|
"/var/log"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2021-04-10 16:55:17 +00:00
|
|
|
sconfig = {
|
2021-09-07 02:36:43 +00:00
|
|
|
gnome = true;
|
2021-04-10 16:55:17 +00:00
|
|
|
profile = "desktop";
|
2021-09-29 02:24:03 +00:00
|
|
|
hardware = "physical";
|
2021-04-10 16:55:17 +00:00
|
|
|
security-tools = true;
|
|
|
|
};
|
|
|
|
|
2021-06-04 21:46:40 +00:00
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
vmware-horizon-client
|
|
|
|
];
|
|
|
|
|
2021-04-10 16:55:17 +00:00
|
|
|
boot = {
|
|
|
|
loader.systemd-boot.enable = true;
|
|
|
|
loader.efi.canTouchEfiVariables = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
fileSystems = {
|
2021-10-10 08:21:36 +00:00
|
|
|
"/" = { device = "tmpfs"; fsType = "tmpfs"; options = [ "mode=755" ]; };
|
|
|
|
"/nix" = { device = "zroot/locker/nix"; fsType = "zfs"; };
|
2021-04-10 16:55:17 +00:00
|
|
|
"/home" = { device = "zroot/locker/home"; fsType = "zfs"; };
|
|
|
|
"/boot" = { device = "/dev/disk/by-partlabel/EFI\\x20system\\x20partition"; fsType = "vfat"; };
|
|
|
|
};
|
|
|
|
|
2021-10-10 08:21:36 +00:00
|
|
|
system.stateVersion = "21.05";
|
2021-04-10 16:55:17 +00:00
|
|
|
}
|