mirror of
https://github.com/lhns/steam-frame-nix.git
synced 2026-10-06 04:04:16 +02:00
template: no GPU driver setup, Home Manager news silent
targets.genericLinux.gpu would ask for a root setup (a tmpfiles.d link under /etc) for drivers that Nix-built GUI apps need and steam-frame-nix doesn't; news.display = "silent" drops the unread news notice on each switch (home-manager news still lists them).
This commit is contained in:
1 parent
dc527d0253
commit
8e281d00dc
2 files changed
+5
No files matched your search
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user