e
This commit is contained in:
parent
455f8dadcc
commit
ad673fbcf7
|
@ -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
|
||||||
|
|
|
@ -3,6 +3,12 @@
|
||||||
sddm = {
|
sddm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
wayland.enable = true;
|
wayland.enable = true;
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
General = {
|
||||||
|
Numlock = "on";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
defaultSession = "plasma";
|
defaultSession = "plasma";
|
||||||
|
|
23
common/components/packages-base.nix
Normal file
23
common/components/packages-base.nix
Normal 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
|
||||||
|
];
|
||||||
|
}
|
|
@ -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
|
|
||||||
];
|
|
||||||
}
|
}
|
4
common/components/printing.nix
Normal file
4
common/components/printing.nix
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
# Enable CUPS to print documents.
|
||||||
|
services.printing.enable = true;
|
||||||
|
}
|
13
common/components/sound.nix
Normal file
13
common/components/sound.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
|
@ -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
|
|
||||||
];
|
|
||||||
}
|
}
|
|
@ -2,5 +2,5 @@
|
||||||
imports = [
|
imports = [
|
||||||
./wifi.nix
|
./wifi.nix
|
||||||
./bluetooth.nix
|
./bluetooth.nix
|
||||||
]
|
];
|
||||||
}
|
}
|
Loading…
Reference in a new issue