Reorganized desktop, simplified systemwide setup

This commit is contained in:
Jan-Bulthuis committed 2025-02-16 18:15:44 +01:00
1 parent 627c29ba9f
commit 9a5bd2177c
29 files changed
+295 -876

No files matched your search

+19 -1
View File
@@ -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"
];
};
};
};
}