Create module for desktop

This commit is contained in:
Pim Kunis 2024-11-19 22:08:41 +01:00
parent 7312d03b61
commit da3e3e621e
4 changed files with 41 additions and 34 deletions

View file

@ -10,7 +10,6 @@ in {
config = {
pim = {
cinnamon.enable = true;
inWheel = false;
};
facter.reportPath = ./facter.json;
@ -18,9 +17,19 @@ in {
home-manager.users.pim.imports = [./home.nix];
programs.steam.enable = true;
users.users = {
root.openssh.authorizedKeys.keys = config.pim.ssh.keys.pim;
pim = {
isNormalUser = true;
openssh.authorizedKeys.keys = config.pim.ssh.keys.pim;
};
};
deployment = {
targetHost = "gamepc";
targetUser = "root";
tags = ["desktop"];
keys = {
root-sops-age-key = {
@ -44,11 +53,6 @@ in {
tailscale.enable = true;
};
users.users = {
root.openssh.authorizedKeys.keys = config.pim.ssh.keys.pim;
pim.openssh.authorizedKeys.keys = config.pim.ssh.keys.pim;
};
boot.loader.grub = {
enable = true;
efiSupport = true;