Mise à jour et ajout de proton-ge & steam

This commit is contained in:
2026-08-10 00:16:26 +02:00
parent b985fb589c
commit cd3a057d2a
12 changed files with 168 additions and 56 deletions
+11 -3
View File
@@ -5,14 +5,22 @@ let
in
{
options.os.flatpak = {
gtk = mkEnableOption "Flatpak app install";
enable = mkEnableOption "System pipewire service";
};
config = mkIf cfg.enable {
services.flatpak.enable = true;
services.flatpak.update.auto = {
services.flatpak = {
enable = true;
onCalendar = "weekly"; # Default value
update.auto = {
enable = true;
onCalendar = "weekly"; # Default value
};
packages =
[ ]
++ lib.optionals cfg.gtk [
"io.github.flattool.Warehouse"
];
};
};
+22
View File
@@ -0,0 +1,22 @@
{
lib,
config,
pkgs,
...
}:
with lib;
let
cfg = config.os.protonge;
in
{
options.os.protonge = {
enable = mkEnableOption "System pipewire service";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
umu-launcher
];
};
}
+29
View File
@@ -0,0 +1,29 @@
{
lib,
config,
pkgs,
...
}:
with lib;
let
cfg = config.os.steam;
in
{
options.os.steam = {
enable = mkEnableOption "System pipewire service";
};
config = mkIf cfg.enable {
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
extraCompatPackages = with pkgs; [
proton-ge-bin
];
};
programs.gamemode.enable = true;
};
}
+4 -7
View File
@@ -30,13 +30,10 @@ in
gnome-user-docs
];
systemPackages =
with pkgs;
[
papers
nautilus
gnome-text-editor
];
systemPackages = with pkgs; [
papers
nautilus
];
};
};
@@ -12,12 +12,16 @@ let
in
{
options.os.virtualisation.podman = {
enable = mkEnableOption "System docker service";
gtk = mkEnableOption "Podman app install";
enable = mkEnableOption "System podman service";
};
config = mkIf cfg.enable {
virtualisation = {
containers.enable = true;
containers = {
enable = true;
registries.search = [ "docker.io" ];
};
podman = {
enable = true;
dockerCompat = true;
@@ -27,9 +31,7 @@ in
};
environment = {
systemPackages = with pkgs; [
podman-compose
];
systemPackages = with pkgs; [ podman-compose ] ++ lib.optionals cfg.gtk [ pods ];
};
users.groups.podman.members = users;