Skip to content

Commit

Permalink
darwin: fix nixblk user warning
Browse files Browse the repository at this point in the history
  • Loading branch information
loganlinn committed Oct 9, 2024
1 parent 7797fda commit 9e251b8
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions darwin/common.nix
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
{
options,
config,
pkgs,
lib,
...
}:
{ config, lib, ... }:
{
users.users.${config.my.user.name} = {
description = "Logan Linn";
shell = config.my.user.shell;
home = "/Users/logan";
home = "/Users/${config.my.user.name}";
};

homebrew.enable = lib.mkDefault true;
Expand Down Expand Up @@ -62,19 +55,15 @@
};
};

nix.configureBuildUsers = true;
nix.gc = {
automatic = true;
interval = {
Hour = 4;
Minute = 15;
};
};
nix.configureBuildUsers = lib.mkDefault false; # https://github.com/LnL7/nix-darwin/issues/970

nix.gc.automatic = true;

nix.settings = {
experimental-features = [
"nix-command"
"flakes"
"repl-flake"
];
keep-derivations = false;
auto-optimise-store = false; # https://github.com/NixOS/nix/issues/7273
Expand Down

0 comments on commit 9e251b8

Please sign in to comment.