mirror of
https://github.com/ItsDrike/nixdots
synced 2025-06-29 11:10:42 +00:00
Run alejandra
This commit is contained in:
parent
286920def4
commit
c00134da1c
152 changed files with 827 additions and 721 deletions
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue