add a desktop profile
This commit is contained in:
parent
9688e4147b
commit
09f1b62cc8
@ -85,6 +85,7 @@
|
|||||||
./hosts/fwminex/configuration.nix
|
./hosts/fwminex/configuration.nix
|
||||||
|
|
||||||
./modules
|
./modules
|
||||||
|
./modules/profiles/desktop
|
||||||
|
|
||||||
agenix.nixosModules.default
|
agenix.nixosModules.default
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
|
@ -57,7 +57,6 @@
|
|||||||
passwd = {
|
passwd = {
|
||||||
root.initialPassword = "live";
|
root.initialPassword = "live";
|
||||||
motiejus.initialPassword = "live";
|
motiejus.initialPassword = "live";
|
||||||
motiejus.extraGroups = ["networkmanager"];
|
|
||||||
#root.passwordFile = config.age.secrets.root-passwd-hash.path;
|
#root.passwordFile = config.age.secrets.root-passwd-hash.path;
|
||||||
#motiejus.passwordFile = config.age.secrets.motiejus-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 = {
|
networking = {
|
||||||
hostId = "3a54afcd";
|
hostId = "3a54afcd";
|
||||||
hostName = "fwminex";
|
hostName = "fwminex";
|
||||||
domain = "motiejus.jakst";
|
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