feat(home): add git config with example configuration for non-NixOS
This commit is contained in:
@@ -12,6 +12,7 @@ in
|
||||
imports = [
|
||||
../../modules/dconf.nix # TODO: Only enable when on Gnome?
|
||||
../../modules/git.nix
|
||||
../../modules/k9s.nix
|
||||
(import ../../modules/taskwarrior.nix {
|
||||
inherit config;
|
||||
inherit pkgs;
|
||||
|
||||
@@ -10,21 +10,15 @@ let
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
../../modules/dconf.nix # TODO: Only enable when on Gnome?
|
||||
../../modules/dconf.nix
|
||||
../../modules/git.nix
|
||||
../../modules/k9s.nix
|
||||
];
|
||||
|
||||
home.stateVersion = "25.05";
|
||||
home.username = username;
|
||||
home.homeDirectory = "/home/${username}";
|
||||
|
||||
sops = {
|
||||
defaultSopsFile = "${builtins.toString inputs.nix-secrets}/secrets.yaml";
|
||||
defaultSopsFormat = "yaml";
|
||||
age.keyFile = "${config.home.homeDirectory}/.config/sops/age/keys.txt";
|
||||
|
||||
secrets."test" = { };
|
||||
};
|
||||
|
||||
nixGL = {
|
||||
packages = inputs.nixgl.packages;
|
||||
defaultWrapper = "mesa";
|
||||
@@ -37,7 +31,6 @@ in
|
||||
inherit pkgs;
|
||||
inherit config;
|
||||
};
|
||||
git = import ../../modules/git.nix;
|
||||
keepassxc = import ../../modules/keepassxc.nix;
|
||||
};
|
||||
home.packages = import ./packages.nix {
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
programs.git.enable = true;
|
||||
home.file = {
|
||||
".gitconfig".source = ../../dots/.gitconfig;
|
||||
".gitconfig.work".source = ../../dots/.gitconfig.work;
|
||||
".gitignore".source = ../../dots/.gitignore;
|
||||
};
|
||||
}
|
||||
|
||||
11
home/modules/k9s.nix
Normal file
11
home/modules/k9s.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
programs.k9s = {
|
||||
enable = true;
|
||||
settings.k9s = {
|
||||
ui = {
|
||||
logoless = true;
|
||||
reactive = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user