many changes: prepare to allow multiple users

This commit is contained in:
Sean Kovacs 2026-04-02 19:36:49 -04:00
commit fab570dd29
Signed by: sckova
GPG key ID: 00F325187C68651A
42 changed files with 80 additions and 158 deletions

View file

@ -7,6 +7,13 @@
...
}:
{
# the user to activate
userOptions = {
name = "Sean Kovacs";
username = "sckova";
email = "kovacsmillio@gmail.com";
};
boot = {
plymouth.enable = true;
plymouth.logo = "${pkgs.nixos-icons}/share/icons/hicolor/64x64/apps/nix-snowflake-white.png";
@ -49,19 +56,6 @@
};
programs = {
gamescope = {
enable = true;
capSysNice = false;
args = [
"--output-width 3840"
"--nested-width 3840"
"--output-height 2160"
"--nested-height 2160"
"--expose-wayland"
"--fullscreen"
];
};
gamemode.enable = true;
gnupg.agent = {
enable = true;
enableSSHSupport = true;
@ -107,7 +101,7 @@
services = {
displayManager = {
autoLogin.enable = true;
autoLogin.user = "sckova";
autoLogin.user = config.userOptions.username;
defaultSession = "niri";
sddm.enable = true;
sddm.wayland.enable = true;
@ -128,17 +122,6 @@
upower.enable = true;
power-profiles-daemon.enable = true;
openssh.enable = true;
ananicy = {
enable = true;
package = pkgs.ananicy-cpp;
rulesProvider = pkgs.ananicy-cpp;
extraRules = [
{
"name" = "gamescope";
"nice" = -20;
}
];
};
};
environment.systemPackages = with pkgs; [