formatting

This commit is contained in:
Chris Cochrun 2024-10-29 13:48:51 -05:00
parent 9f406deb53
commit de213e7737
4 changed files with 84 additions and 50 deletions

View file

@ -1,20 +1,17 @@
{ pkgs, lib, config, inputs, ... }:
with lib;
{
imports = [ ./cachix.nix ];
nix = {
extraOptions = "experimental-features = nix-command flakes";
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 20d";
};
settings = {
auto-optimise-store = true;
};
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
extraOptions = "experimental-features = nix-command flakes";
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 20d";
};
settings = { auto-optimise-store = true; };
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
};
# nixpkgs.config.allowUnFree = true;
# pkgs.config.allowUnfree = true;
@ -34,7 +31,8 @@ with lib;
i18n.defaultLocale = "en_US.UTF-8";
time.timeZone = "America/Chicago";
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
networking.networkmanager.enable =
true; # Easiest to use and most distros use this by default.
# Set default shell to be dash for speed
# Apparently this is bad because a lot of nix relies on bash

View file

@ -1,11 +1,8 @@
{
nix = {
settings = {
substituters = [
"https://nix-community.cachix.org"
"https://cosmic.cachix.org/"
];
substituters =
[ "https://nix-community.cachix.org" "https://cosmic.cachix.org/" ];
trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE="