add a desktop profile

This commit is contained in:
Motiejus Jakštys 2023-09-14 21:52:10 +03:00
parent 9688e4147b
commit 09f1b62cc8
3 changed files with 28 additions and 10 deletions

View File

@ -85,6 +85,7 @@
./hosts/fwminex/configuration.nix
./modules
./modules/profiles/desktop
agenix.nixosModules.default
home-manager.nixosModules.home-manager

View File

@ -57,7 +57,6 @@
passwd = {
root.initialPassword = "live";
motiejus.initialPassword = "live";
motiejus.extraGroups = ["networkmanager"];
#root.passwordFile = config.age.secrets.root-passwd-hash.path;
#motiejus.passwordFile = config.age.secrets.motiejus-passwd-hash.path;
};
@ -104,18 +103,9 @@
};
};
services = {
xserver = {
enable = true;
desktopManager.gnome.enable = true;
displayManager.gdm.enable = true;
};
};
networking = {
hostId = "3a54afcd";
hostName = "fwminex";
domain = "motiejus.jakst";
networkmanager.enable = true;
};
}

View File

@ -0,0 +1,27 @@
{
config,
lib,
pkgs,
...
}: {
config = {
services.udev.packages = [pkgs.yubikey-personalization];
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
mj.base.users.passwd.motiejus.extraGroups = ["networkmanager"];
services = {
xserver = {
enable = true;
desktopManager.gnome.enable = true;
displayManager.gdm.enable = true;
};
};
networking.networkmanager.enable = true;
};
}