marleyos/modules/home/base/nix/default.nix
punkfairie d185e489cf
feat(home): NixGL working!!
Wezterm hates it for some reason tho :(
2024-11-22 21:37:45 -08:00

31 lines
579 B
Nix

{ pkgs, config, ... }:
{
config = {
nix = {
package = pkgs.lix;
# Enable flakes.
settings.experimental-features = [
"nix-command"
"flakes"
];
# Disable that annoying "git tree is dirty" warning.
extraOptions = ''
warn-dirty = false
'';
# Garbage collection.
gc.automatic = true;
};
nixpkgs.config.import = "${config.xdg.configHome}/nixpkgs/config.nix";
xdg.configFile."nixpkgs/config.nix".text = # nix
''
{
allowUnfree = true;
}
'';
};
}