cleanup common GUI config

This commit is contained in:
nyanloutre 2024-08-12 10:06:12 +02:00
parent 56095f920c
commit 278b49fe66
Signed by: nyanloutre
GPG Key ID: 194A92D1103ACB2A
3 changed files with 25 additions and 22 deletions

View File

@ -82,8 +82,10 @@
esphome esphome
]; ];
programs.wireshark.enable = true; programs = {
programs.wireshark.package = pkgs.wireshark; wireshark.enable = true;
alvr.enable = true;
};
networking.firewall.enable = false; networking.firewall.enable = false;

View File

@ -30,7 +30,6 @@
}) })
# Gestionnaires de version # Gestionnaires de version
gitMinimal
tig tig
gitAndTools.hub gitAndTools.hub
quilt quilt
@ -104,6 +103,8 @@
bash.interactiveShellInit = '' bash.interactiveShellInit = ''
eval "$(starship init bash)" eval "$(starship init bash)"
''; '';
git.enable = true;
}; };
environment.variables = let environment.variables = let

View File

@ -61,7 +61,6 @@
glxinfo glxinfo
i7z i7z
appimage-run
pavucontrol pavucontrol
]; ];
@ -71,31 +70,26 @@
console.keyMap = "fr"; console.keyMap = "fr";
programs.steam.enable = true;
programs.firefox.enable = true;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
systemd.extraConfig = "DefaultLimitNOFILE=1048576"; systemd.extraConfig = "DefaultLimitNOFILE=1048576";
security.pam.loginLimits = [{
domain = "*"; security = {
type = "hard"; pam.loginLimits = [{
item = "nofile"; domain = "*";
value = "1048576"; type = "hard";
}]; item = "nofile";
value = "1048576";
}];
rtkit.enable = true;
};
programs = { programs = {
gnupg.agent = { enable = true; enableSSHSupport = true; }; gnupg.agent = { enable = true; enableSSHSupport = true; };
browserpass.enable = true; browserpass.enable = true;
steam.enable = true;
firefox.enable = true;
appimage.enable = true;
}; };
services = { services = {
@ -113,6 +107,12 @@
exportConfiguration = true; exportConfiguration = true;
desktopManager.plasma5.enable = true; desktopManager.plasma5.enable = true;
}; };
pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
udev.packages = with pkgs; [ ledger-udev-rules ]; udev.packages = with pkgs; [ ledger-udev-rules ];
pcscd.enable = true; pcscd.enable = true;
}; };