add a desktop profile
This commit is contained in:
parent
9688e4147b
commit
09f1b62cc8
@ -85,6 +85,7 @@
|
||||
./hosts/fwminex/configuration.nix
|
||||
|
||||
./modules
|
||||
./modules/profiles/desktop
|
||||
|
||||
agenix.nixosModules.default
|
||||
home-manager.nixosModules.home-manager
|
||||
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
27
modules/profiles/desktop/default.nix
Normal file
27
modules/profiles/desktop/default.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user