Modularize programs and add starship

This commit is contained in:
DashieTM 2024-08-06 12:40:16 +02:00
parent 1a0064894d
commit 44ac35d6e2
24 changed files with 646 additions and 530 deletions

View file

@ -3,11 +3,8 @@
./kitty.nix
./yazi.nix
./fish.nix
./ssh.nix
./direnv.nix
./git.nix
./firefox.nix
./keepass.nix
./neovide.nix
];
}

View file

@ -1,16 +0,0 @@
{
programs.git = {
enable = true;
userName = "DashieTM";
userEmail = "fabio.lenherr@gmail.com";
extraConfig = {
merge = {
tool = "nvimdiff";
};
diff = {
tool = "nvimdiff";
};
};
};
}

View file

@ -1,36 +0,0 @@
{
xdg.configFile."keepassxc/keepassxc.ini" = {
text =
''
[General]
ConfigVersion=2
[Browser]
Enabled=true
[GUI]
ApplicationTheme=classic
HidePasswords=true
MinimizeOnClose=true
MinimizeToTray=true
ShowTrayIcon=true
TrayIconAppearance=monochrome-light
[PasswordGenerator]
Length=30
[Security]
EnableCopyOnDoubleClick=true
'';
};
home.file.".cache/keepassxc/keepassxc.ini" = {
text = ''
[General]
LastDatabases=/home/dashie/PWs/Passwords.kdbx
LastActiveDatabase=/home/dashie/PWs/Passwords.kdbx
LastOpenedDatabases=/home/dashie/PWs/Passwords.kdbx
LastKeyFiles=@Variant(\0\0\0\x1c\0\0\0\x1\0\0\0>\0/\0h\0o\0m\0\x65\0/\0\x64\0\x61\0s\0h\0i\0\x65\0/\0P\0W\0s\0/\0P\0\x61\0s\0s\0w\0o\0r\0\x64\0s\0.\0k\0\x64\0\x62\0x\0\0\0\n\0\0\0>\0/\0h\0o\0m\0\x65\0/\0\x64\0\x61\0s\0h\0i\0\x65\0/\0P\0W\0s\0/\0l\0o\0g\0i\0n\0_\0k\0\x65\0y\0.\0k\0\x65\0y\0x)
'';
};
}

View file

@ -1,10 +0,0 @@
{ config, ... }: {
home.file.".ssh/config".text = ''
Host github.com
IdentityFile ${config.sops.secrets.hub.path}
Host gitlab.com
IdentityFile ${config.sops.secrets.lab.path}
Host dashie.org
IdentityFile ${config.sops.secrets.dashie.path}
'';
}