Initial commit

This commit is contained in:
demenik
2025-12-01 18:24:34 +01:00
commit fc68fa5ce9
142 changed files with 6273 additions and 0 deletions

49
nixos/global/default.nix Normal file
View File

@@ -0,0 +1,49 @@
{
pkgs,
lib,
...
}: {
imports = [
./nix.nix
];
programs.dconf.enable = true;
environment.systemPackages = with pkgs; [
home-manager
neovim
(lib.hiPrio uutils-coreutils-noprefix)
];
services.xserver.xkb = {
layout = "de";
variant = "nodeadkeys";
};
console.keyMap = "de";
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "de_DE.UTF-8";
LC_IDENTIFICATION = "de_DE.UTF-8";
LC_MEASUREMENT = "de_DE.UTF-8";
LC_MONETARY = "de_DE.UTF-8";
LC_NAME = "de_DE.UTF-8";
LC_NUMERIC = "de_DE.UTF-8";
LC_PAPER = "de_DE.UTF-8";
LC_TELEPHONE = "de_DE.UTF-8";
LC_TIME = "de_DE.UTF-8";
};
time.timeZone = "Europe/Berlin";
services.pulseaudio.enable = false;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
security = {
rtkit.enable = true;
sudo-rs.enable = true;
};
}

19
nixos/global/nix.nix Normal file
View File

@@ -0,0 +1,19 @@
{pkgs, ...}: {
nix = {
package = pkgs.nix;
settings = {
auto-optimise-store = true;
trusted-users = ["root" "@wheel"];
experimental-features = "nix-command flakes";
warn-dirty = false;
};
gc = {
automatic = true;
options = "--delete-older-than 2d";
};
optimise.automatic = true;
};
nixpkgs.config.allowUnfree = true;
}