46 lines
945 B
Nix
46 lines
945 B
Nix
{
|
|
inputs,
|
|
config,
|
|
pkgs,
|
|
...
|
|
}:
|
|
|
|
{
|
|
imports = [
|
|
inputs.sops-nix.homeManagerModules.sops
|
|
../../modules/dconf.nix # TODO: Only enable when on Gnome?
|
|
];
|
|
|
|
home.stateVersion = "25.05";
|
|
home.username = "hektor";
|
|
home.homeDirectory = "/home/hektor";
|
|
|
|
sops = {
|
|
defaultSopsFile = "${builtins.toString inputs.nix-secrets}/secrets.yaml";
|
|
defaultSopsFormat = "yaml";
|
|
age.keyFile = "/home/${config.home.username}/.config/sops/age/keys.txt";
|
|
|
|
secrets."test" = { };
|
|
};
|
|
|
|
nixGL = {
|
|
packages = inputs.nixgl.packages;
|
|
defaultWrapper = "mesa";
|
|
};
|
|
|
|
programs = {
|
|
anki = import ../../modules/anki.nix;
|
|
firefox = import ../../modules/firefox.nix {
|
|
inherit inputs;
|
|
inherit pkgs;
|
|
inherit config;
|
|
};
|
|
git = import ../../modules/git.nix;
|
|
keepassxc = import ../../modules/keepassxc.nix;
|
|
};
|
|
home.packages = import ./packages.nix {
|
|
inherit pkgs;
|
|
inherit config;
|
|
};
|
|
}
|