Run alejandra

This commit is contained in:
ItsDrike 2024-07-27 01:07:07 +02:00
parent 286920def4
commit c00134da1c
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
152 changed files with 827 additions and 721 deletions

View file

@ -1,6 +1,4 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
imports = [
./cachix.nix
./gc.nix
@ -11,7 +9,7 @@
nix = {
settings = {
# enable flakes support
experimental-features = [ "nix-command" "flakes" ];
experimental-features = ["nix-command" "flakes"];
# Keep the built outputs of derivations in Nix store, even if the package is no longer needed
# - prevents the need to rebuild/redownload if it becomes a dependency again
@ -25,13 +23,13 @@
# Give these users/groups additional rights when connecting to the Nix daemon
# like specifying extra binary caches
trusted-users = [ "root" "@wheel" ];
trusted-users = ["root" "@wheel"];
# Tell nix to use xdg base directories
# If you're just setting this, you will need to move the directories
# manually, nix won't do it for you:
# - mv "$HOME/.nix-defexpr" "$XDG_STATE_HOME/nix/defexpr"
# - mv "$HOME/.nix-profile" "$XDG_STATE_HOME/nix/profile"
# - mv "$HOME/.nix-profile" "$XDG_STATE_HOME/nix/profile"
use-xdg-base-directories = true;
};
};
@ -39,5 +37,5 @@
nixpkgs.config.allowUnfree = true;
# Git is needed for flakes
environment.systemPackages = [ pkgs.git ];
environment.systemPackages = [pkgs.git];
}