Compare commits
No commits in common. "137e388593cfb4e484010f1a3a1cdd1e51eee616" and "2abd639bea757e1657697b05c596a77928ce5ef9" have entirely different histories.
137e388593
...
2abd639bea
7 changed files with 37 additions and 50 deletions
|
@ -8,7 +8,6 @@
|
|||
./cli.nix
|
||||
./mpv.nix
|
||||
./ssh.nix
|
||||
./keepassxc.nix
|
||||
];
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
|
|
|
@ -56,7 +56,6 @@
|
|||
functions = {
|
||||
ns = "nix shell nixpkgs#$argv[1]";
|
||||
nss = "nix shell nixpkgs#$argv[1] -c $argv";
|
||||
epoch = "date --date +\"@$argv[1]\"";
|
||||
};
|
||||
|
||||
shellAbbrs = {
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
nix-flatpak.url = "github:gmodena/nix-flatpak";
|
||||
|
||||
plasma-manager = {
|
||||
url = "github:nix-community/plasma-manager";
|
||||
url = "github:pjones/plasma-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
inputs.home-manager.follows = "home-manager";
|
||||
};
|
||||
|
|
|
@ -18,4 +18,39 @@
|
|||
rootless_storage_path="/mnt/storage/.containers"
|
||||
driver="btrfs"
|
||||
'';
|
||||
|
||||
home.file.".config/keepassxc/keepassxc.ini".text = ''
|
||||
[General]
|
||||
ConfigVersion=2
|
||||
MinimizeAfterUnlock=true
|
||||
OpenPreviousDatabasesOnStartup=false
|
||||
RememberLastDatabases=false
|
||||
RememberLastKeyFiles=false
|
||||
|
||||
[Browser]
|
||||
Enabled=true
|
||||
|
||||
[GUI]
|
||||
CompactMode=true
|
||||
MonospaceNotes=true
|
||||
|
||||
[PasswordGenerator]
|
||||
AdditionalChars=
|
||||
AdvancedMode=true
|
||||
Dashes=false
|
||||
ExcludedChars=
|
||||
Length=64
|
||||
Logograms=true
|
||||
LowerCase=true
|
||||
Numbers=true
|
||||
Punctuation=false
|
||||
UpperCase=true
|
||||
|
||||
[SSHAgent]
|
||||
Enabled=true
|
||||
|
||||
[Security]
|
||||
IconDownloadFallback=true
|
||||
LockDatabaseScreenLock=false
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -1,42 +0,0 @@
|
|||
{config, ...}: {
|
||||
home.file.keepassxc = {
|
||||
target = ".var/app/org.keepassxc.KeePassXC/config/keepassxc/keepassxc.ini";
|
||||
# TODO is there a better way?
|
||||
source = config.lib.file.mkOutOfStoreSymlink config.xdg.configHome + /keepassxc/keepassxc.ini;
|
||||
};
|
||||
|
||||
programs.keepassxc.enable = true;
|
||||
programs.keepassxc.package = null; # Flatpak
|
||||
programs.keepassxc.settings = {
|
||||
General = {
|
||||
MinimizeAfterUnlock = true;
|
||||
OpenPreviousDatabasesOnStartup = false;
|
||||
RememberLastDatabases = false;
|
||||
RememberLastKeyFiles = false;
|
||||
MinimizeOnCopy = true;
|
||||
};
|
||||
GUI = {
|
||||
CompactMode = true;
|
||||
MonospaceNotes = true;
|
||||
CheckForUpdates = false;
|
||||
ColorPasswords = true;
|
||||
};
|
||||
PasswordGenerator = {
|
||||
AdvancedMode = true;
|
||||
Length = 64;
|
||||
};
|
||||
Browser = {
|
||||
Enabled = true;
|
||||
BestMatchOnly = true;
|
||||
};
|
||||
SSHAgent = {
|
||||
Enabled = true;
|
||||
# TODO get runtime dir dynamically
|
||||
AuthSockOverride = "/run/user/1000/gnupg/S.gpg-agent.ssh";
|
||||
};
|
||||
Security = {
|
||||
IconDownloadFallback = true;
|
||||
LockDatabaseScreenLock = false;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -17,10 +17,6 @@
|
|||
key = "${k}";
|
||||
action = lua "${fn}";
|
||||
};
|
||||
unmap = k: {
|
||||
key = "${k}";
|
||||
action = "";
|
||||
};
|
||||
lkey = k: fn: {
|
||||
key = ldr "${k}";
|
||||
action = lua "${fn}";
|
||||
|
@ -50,6 +46,5 @@ in {
|
|||
|
||||
(key "<F5>" (luafr "nvim-tree.api" "tree.toggle()"))
|
||||
(lkey "d" "vim.cmd.bdelete")
|
||||
(unmap "<F1>")
|
||||
];
|
||||
}
|
||||
|
|
|
@ -79,6 +79,7 @@
|
|||
};
|
||||
};
|
||||
programs.nixvim.extraPlugins = [
|
||||
pkgs.vimPlugins.legendary-nvim
|
||||
pkgs.vimPlugins.guess-indent-nvim
|
||||
pkgs.vimPlugins.vim-monokai-tasty
|
||||
(pkgs.vimUtils.buildVimPlugin {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue