mirror of
https://github.com/jbowdre/dotfiles.git
synced 2025-01-15 13:39:13 +00:00
49 lines
1.2 KiB
Nix
49 lines
1.2 KiB
Nix
{ inputs, outputs, lib, config, pkgs, ... }: {
|
|
imports = [
|
|
../modules/tui
|
|
inputs.catppuccin.homeManagerModules.catppuccin
|
|
inputs.sops-nix.homeManagerModules.sops
|
|
] ++ (builtins.attrValues outputs.homeManagerModules);
|
|
|
|
nixpkgs = {
|
|
overlays = builtins.attrValues outputs.overlays;
|
|
config = {
|
|
allowUnfree = true;
|
|
allowUnfreePredicate = (_: true);
|
|
};
|
|
};
|
|
|
|
nix = {
|
|
package = lib.mkDefault pkgs.nix;
|
|
settings = {
|
|
experimental-features = [ "nix-command" "flakes" ];
|
|
warn-dirty = false;
|
|
};
|
|
};
|
|
|
|
home = {
|
|
username = lib.mkDefault "john";
|
|
homeDirectory = lib.mkDefault "/home/${config.home.username}";
|
|
stateVersion = lib.mkDefault "24.11";
|
|
sessionVariables = { EDITOR = "nvim"; };
|
|
};
|
|
|
|
programs = { home-manager.enable = true; };
|
|
|
|
sops = {
|
|
age.sshKeyPaths = [ "${config.home.homeDirectory}/.ssh/id_ed25519" ];
|
|
secrets.tempest-station = { sopsFile = ./secrets.yaml; };
|
|
secrets.tempest-token = { sopsFile = ./secrets.yaml; };
|
|
};
|
|
|
|
catppuccin = {
|
|
flavor = "mocha";
|
|
enable = true;
|
|
};
|
|
|
|
targets.genericLinux.enable = true;
|
|
|
|
xdg.enable = true;
|
|
xdg.mime.enable = true;
|
|
|
|
}
|