diff --git a/README.md b/README.md index 4ca3faf..b3f7fba 100644 --- a/README.md +++ b/README.md @@ -195,6 +195,7 @@ these two files ([`template/`](template), with more comments): home.homeDirectory = homeDirectory; home.stateVersion = "26.05"; targets.genericLinux.enable = true; + targets.genericLinux.gpu.enable = false; # no GPU drivers for Nix GUI apps (their setup is a root service) programs.home-manager.enable = true; programs.git = { # SteamOS's git, Home Manager writes its config enable = true; diff --git a/template/home.nix b/template/home.nix index 42c3c77..0434810 100644 --- a/template/home.nix +++ b/template/home.nix @@ -7,7 +7,11 @@ home.stateVersion = "26.05"; targets.genericLinux.enable = true; # non-NixOS integration + # Nix-built GUI apps without GPU drivers; steam-frame-nix doesn't need + # them and the setup would write a root service under /etc: + targets.genericLinux.gpu.enable = false; programs.home-manager.enable = true; # the `home-manager` command + news.display = "silent"; # `home-manager news` lists them # git credentials for HTTPS (`install.sh install --clone` uses them): # github.com through the GitHub CLI (gh auth login), other hosts from