Reorganized desktop, simplified systemwide setup
This commit is contained in:
1 parent
627c29ba9f
commit
9a5bd2177c
29 files changed
+295
-876
No files matched your search
@@ -11,5 +11,23 @@ with lib;
|
||||
enable = mkEnableOption "steam";
|
||||
};
|
||||
|
||||
# The rest of the configuration is in a systemwide module
|
||||
config = mkIf config.modules.steam.enable {
|
||||
# Systemwide configuration
|
||||
systemwide = {
|
||||
modules.unfree.allowedPackages = [
|
||||
"steam"
|
||||
"steam-original"
|
||||
"steam-unwrapped"
|
||||
];
|
||||
|
||||
programs.steam.enable = true;
|
||||
|
||||
# Make steam create desktop entries in a subfolder
|
||||
programs.steam.package = pkgs.steam.override {
|
||||
extraBwrapArgs = [
|
||||
"--bind $HOME/.local/share/applications/Steam $HOME/.local/share/applications"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user