mirror of
https://github.com/ellmau/nixos.git
synced 2025-12-19 09:29:36 +01:00
* switch to sway * Add greetd pam integration, Add waybar base config * waybar (multiple modules do not behave as documented) * nm-applet * systemd-integration due to "normal" call via greetd configure mako adding base commands for nm-applet, blueman-applet * add kanshi * swayconfig keybindings for special multimedia keys * waybar base stylefile + basic modules * Add more portals to wayland/sway and fix fonts * Add nixosConfiguration-awareness to the homemanager module * Add alacritty.nix for home-manager configuration * Add formatter to flake * Format with alejandra style * Add apheleia to emacs * Add local configuration to use alejandra in this flake with emacs
34 lines
816 B
Nix
34 lines
816 B
Nix
{
|
|
pkgs,
|
|
config,
|
|
...
|
|
}: {
|
|
config = {
|
|
nix = {
|
|
useSandbox = true;
|
|
package = pkgs.nixFlakes;
|
|
generateRegistryFromInputs = true;
|
|
generateNixPathFromInputs = true;
|
|
linkInputs = true;
|
|
|
|
autoOptimiseStore = true;
|
|
trustedUsers = ["root"] ++ config.elss.users.admins;
|
|
|
|
# Enable flakes
|
|
# Free up to 50 GiB whenever there is less than 10 GiB left.
|
|
extraOptions = ''
|
|
experimental-features = nix-command flakes
|
|
min-free = ${toString (10 * 1024 * 1024 * 1024)}
|
|
max-free = ${toString (50 * 1024 * 1024 * 1024)}
|
|
'';
|
|
|
|
# Disable automatic (periodic) GC, since it might interfere with benchmarks
|
|
gc = {
|
|
automatic = true;
|
|
dates = "weekly";
|
|
options = "--delete-older-than 30d";
|
|
};
|
|
};
|
|
};
|
|
}
|