mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-06-26 23:11:49 +02:00
remove extra packages not needed
This commit is contained in:
parent
5da964a2e3
commit
69f449823b
@ -15,6 +15,7 @@ in
|
|||||||
./hardware.nix
|
./hardware.nix
|
||||||
./users.nix
|
./users.nix
|
||||||
../../modules/amd-drivers.nix
|
../../modules/amd-drivers.nix
|
||||||
|
../../modules/nvidia-drivers.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
@ -65,20 +66,6 @@ in
|
|||||||
LC_TIME = "en_US.UTF-8";
|
LC_TIME = "en_US.UTF-8";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable CUPS to print documents.
|
|
||||||
services.printing.enable = true;
|
|
||||||
|
|
||||||
# Enable sound with pipewire.
|
|
||||||
sound.enable = true;
|
|
||||||
hardware.pulseaudio.enable = false;
|
|
||||||
security.rtkit.enable = true;
|
|
||||||
services.pipewire = {
|
|
||||||
enable = true;
|
|
||||||
alsa.enable = true;
|
|
||||||
alsa.support32Bit = true;
|
|
||||||
pulse.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
hyprland = {
|
hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -136,11 +123,8 @@ in
|
|||||||
lshw
|
lshw
|
||||||
pkg-config
|
pkg-config
|
||||||
meson
|
meson
|
||||||
hugo
|
|
||||||
gnumake
|
gnumake
|
||||||
ninja
|
ninja
|
||||||
go
|
|
||||||
nodejs
|
|
||||||
symbola
|
symbola
|
||||||
noto-fonts-color-emoji
|
noto-fonts-color-emoji
|
||||||
material-icons
|
material-icons
|
||||||
@ -174,7 +158,6 @@ in
|
|||||||
protonup-qt
|
protonup-qt
|
||||||
font-awesome
|
font-awesome
|
||||||
spotify
|
spotify
|
||||||
swayidle
|
|
||||||
neovide
|
neovide
|
||||||
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
|
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
|
||||||
];
|
];
|
||||||
@ -183,8 +166,7 @@ in
|
|||||||
ZANEYOS_VERSION = "2.0";
|
ZANEYOS_VERSION = "2.0";
|
||||||
};
|
};
|
||||||
|
|
||||||
# List services that you want to enable:
|
# Services to start
|
||||||
# Enable the X11 windowing system.
|
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
displayManager.lightdm.enable = true;
|
displayManager.lightdm.enable = true;
|
||||||
@ -196,6 +178,36 @@ in
|
|||||||
};
|
};
|
||||||
services.libinput.enable = true;
|
services.libinput.enable = true;
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
|
services.printing.enable = true;
|
||||||
|
# Enable sound with pipewire.
|
||||||
|
sound.enable = true;
|
||||||
|
hardware.pulseaudio.enable = false;
|
||||||
|
security.rtkit.enable = true;
|
||||||
|
services.pipewire = {
|
||||||
|
enable = true;
|
||||||
|
alsa.enable = true;
|
||||||
|
alsa.support32Bit = true;
|
||||||
|
pulse.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
# Security / Polkit
|
||||||
|
security.polkit.enable = true;
|
||||||
|
security.polkit.extraConfig = ''
|
||||||
|
polkit.addRule(function(action, subject) {
|
||||||
|
if (
|
||||||
|
subject.isInGroup("users")
|
||||||
|
&& (
|
||||||
|
action.id == "org.freedesktop.login1.reboot" ||
|
||||||
|
action.id == "org.freedesktop.login1.reboot-multiple-sessions" ||
|
||||||
|
action.id == "org.freedesktop.login1.power-off" ||
|
||||||
|
action.id == "org.freedesktop.login1.power-off-multiple-sessions"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
{
|
||||||
|
return polkit.Result.YES;
|
||||||
|
}
|
||||||
|
})
|
||||||
|
'';
|
||||||
|
|
||||||
# Optimization settings and garbage collection automation
|
# Optimization settings and garbage collection automation
|
||||||
nix = {
|
nix = {
|
||||||
@ -226,6 +238,7 @@ in
|
|||||||
|
|
||||||
# Extra Module Options
|
# Extra Module Options
|
||||||
drivers.amdgpu.enable = true;
|
drivers.amdgpu.enable = true;
|
||||||
|
drivers.nvidia.enable = false;
|
||||||
|
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user