too much rewriting at once... (bad idea)

This commit is contained in:
Schrottkatze 2025-03-27 20:48:56 +01:00
parent 056661f6f8
commit 2390273f53
Signed by: schrottkatze
SSH key fingerprint: SHA256:FPOYVeBy3QP20FEM42uWF1Wa/Qhlk+L3S2+Wuau/Auo
12 changed files with 48 additions and 74 deletions

View file

@ -7,6 +7,7 @@
./net
./input
./media
./nix.nix
./graphics.nix
];
}

View file

@ -23,11 +23,6 @@ with lib; {
};
services.illum.enable = true;
services.avahi = {
enable = true;
nssmdns4 = true;
openFirewall = true;
};
services.smartd = {
enable = true;
notifications.test = true;

View file

@ -11,10 +11,8 @@
};
};
environment.systemPackages = with pkgs; [
pavucontrol
volumeicon
playerctl
pulsemixer
helvum
];
}

View file

@ -1,4 +1,5 @@
{...}: {
time.timeZone = "Europe/Berlin";
i18n.extraLocaleSettings = {
LC_ADDRESS = "de_DE.UTF-8";
LC_IDENTIFICATION = "de_DE.UTF-8";

View file

@ -1,3 +0,0 @@
{...}: {
hardware.graphics.enable = true;
}

View file

@ -5,7 +5,9 @@
./eduroam.nix
./dispatchers
];
networking.networkmanager.enable = true;
networking.networkmanager.wifi.backend = "wpa_supplicant";
systemd.services."NetworkManager-wait-online".enable = false;
services.mullvad-vpn.enable = true;
home-manager.users.jade = {pkgs, ...}: {

29
modules/nix.nix Normal file
View file

@ -0,0 +1,29 @@
{
rs-programs,
niri,
...
}: {
nix = {
extraOptions = ''
experimental-features = nix-command flakes
keep-outputs = true
keep-derivations = true
'';
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 60d";
};
};
nixpkgs = {
config = {
allowUnfree = true;
permittedInsecurePackages = [
"electron-27.3.11"
"nodejs-16.20.0"
];
};
overlays = [rs-programs niri.overlays.niri];
};
}

View file

@ -1,4 +1,4 @@
{...}: {
{pkgs, ...}: {
imports = [
./helix.nix
./nu.nix
@ -7,6 +7,7 @@
./git.nix
./mprocs.nix
./btop.nix
./sudo.nix
];
programs.mosh.enable = true;
programs.bat.enable = true;
@ -14,4 +15,6 @@
programs.carapace.enable = true;
programs.direnv.enable = true;
};
users.defaultUserShell = pkgs.nushell;
}

6
modules/shell/sudo.nix Normal file
View file

@ -0,0 +1,6 @@
{...}: {
nixpkgs.config.packageOverrides = pkgs: {
sudo = pkgs.sudo.override {withInsults = true;};
};
security.sudo.extraConfig = "Defaults insults";
}