This commit is contained in:
Tasia Iso 2024-04-22 21:47:52 +02:00
parent 455f8dadcc
commit ad673fbcf7
Signed by: tasiaiso
SSH key fingerprint: SHA256:KiRjUay5C9i6objsEOIycygBHn54pDBB3Lj7fyJ0Elw
8 changed files with 86 additions and 64 deletions

View file

@ -9,7 +9,7 @@
imports = [ imports = [
./components/bootloader.nix ./components/bootloader.nix
./components/networking.nix ./components/networking.nix
./components/packages.nix ./components/packages-base.nix
./components/security.nix ./components/security.nix
./locales/paris.nix ./locales/paris.nix

View file

@ -3,6 +3,12 @@
sddm = { sddm = {
enable = true; enable = true;
wayland.enable = true; wayland.enable = true;
settings = {
General = {
Numlock = "on";
};
};
}; };
defaultSession = "plasma"; defaultSession = "plasma";

View file

@ -0,0 +1,23 @@
{
pkgs,
lib,
...
}: {
# Packages installd on every machine
environment.systemPackages = with pkgs; [
wget
dig
nmap
btop
gitFull
smartmontools
lm_sensors
pciutils
gcc
gnumake
sysstat
file
ffmpeg
usbutils
];
}

View file

@ -3,6 +3,36 @@
lib, lib,
... ...
}: { }: {
# Packages installed on full-install machines
environment.systemPackages = with pkgs; [
bat
nextdns
# need to test
helix
holehe
smartmontools
cheat
lazygit
ripgrep
jq
yq
neofetch
tldr
dust
powertop
fzf
atuin
zellij
eza
lapce
gotty
gping
yazi
vulnix # once im on stable
];
# Unfree packages that can be installes regardless of whether "allow-unfree.nix" is imported # Unfree packages that can be installes regardless of whether "allow-unfree.nix" is imported
nixpkgs.config.allowUnfreePredicate = pkg: nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [ builtins.elem (lib.getName pkg) [
@ -15,21 +45,4 @@
"nvidia-x11" "nvidia-x11"
"nvidia-settings" "nvidia-settings"
]; ];
environment.systemPackages = with pkgs; [
wget
dig
nmap
btop
gitFull
smartmontools
lm_sensors
pciutils
gcc
gnumake
sysstat
file
ffmpeg
usbutils
];
} }

View file

@ -0,0 +1,4 @@
{
# Enable CUPS to print documents.
services.printing.enable = true;
}

View file

@ -0,0 +1,13 @@
{
# 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;
};
}

View file

@ -1,44 +1,7 @@
{pkgs, ...}: { {
# Enable CUPS to print documents. imports = [
services.printing.enable = true; ./components/sound.nix
./components/printing.nix
# Enable sound with pipewire. ./components/packages-full.nix
sound.enable = true; ]
hardware.pulseaudio.enable = false; }
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
environment.systemPackages = with pkgs; [
bat
nextdns
# need to test
helix
holehe
smartmontools
cheat
lazygit
ripgrep
jq
yq
neofetch
tldr
dust
powertop
fzf
atuin
zellij
eza
lapce
gotty
gping
yazi
vulnix # once im on stable
];
}

View file

@ -2,5 +2,5 @@
imports = [ imports = [
./wifi.nix ./wifi.nix
./bluetooth.nix ./bluetooth.nix
] ];
} }