2023-10-15 14:43:23 -04:00
|
|
|
{ home-manager, lib, nixpkgs, nur, ... }: {
|
|
|
|
imports = [
|
|
|
|
home-manager.nixosModules.default
|
|
|
|
./overlays/list.nix
|
|
|
|
];
|
|
|
|
|
2023-10-15 13:30:21 -04:00
|
|
|
# Select internationalisation properties.
|
|
|
|
i18n.defaultLocale = "en_CA.UTF-8";
|
|
|
|
console = {
|
|
|
|
keyMap = "ca";
|
|
|
|
};
|
|
|
|
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
|
|
|
|
nix = {
|
|
|
|
# Edit nix.conf
|
|
|
|
settings = {
|
|
|
|
experimental-features = [ "nix-command" "flakes" ];
|
|
|
|
keep-outputs = true;
|
|
|
|
keep-derivations = true;
|
|
|
|
auto-optimise-store = true;
|
|
|
|
warn-dirty = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
# Minimize dowloads of indirect nixpkgs flakes
|
|
|
|
registry.nixpkgs = {
|
|
|
|
flake = nixpkgs;
|
|
|
|
exact = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-10-15 14:30:30 -04:00
|
|
|
home-manager.users = let
|
|
|
|
default = {
|
|
|
|
imports = [
|
2023-10-15 14:43:23 -04:00
|
|
|
nur.hmModules.nur
|
2023-10-15 14:37:57 -04:00
|
|
|
./modules/neovim
|
|
|
|
./modules/bash
|
2023-10-15 14:30:30 -04:00
|
|
|
];
|
|
|
|
home.stateVersion = lib.mkDefault "23.05";
|
|
|
|
};
|
|
|
|
in {
|
|
|
|
root = default;
|
|
|
|
matt = default;
|
|
|
|
};
|
2023-10-15 14:43:23 -04:00
|
|
|
}
|