Split out hm/common

I went nuclear...
This commit is contained in:
Geoffrey Frogeye 2024-01-11 23:54:03 +01:00
parent 033f411060
commit 4412180b3a
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
17 changed files with 345 additions and 307 deletions

24
hm/nix/default.nix Normal file
View file

@ -0,0 +1,24 @@
{ pkgs, lib, config, ... }:
{
config = {
home.packages = with pkgs; [
nix-diff
nix-tree
nix-output-monitor
];
programs.nix-index = {
# For non-NixOS systems
enable = false; # TODO Index is impossible to generate, should use https://github.com/nix-community/nix-index-database
# but got no luck without flakes
enableZshIntegration = true;
};
nix = {
package = lib.mkDefault pkgs.nixFlakes;
settings = {
experimental-features = [ "nix-command" "flakes" ];
warn-dirty = false;
};
};
nixpkgs.config.allowUnfree = true;
};
}