Compare commits

...

6 commits

Author SHA1 Message Date
137e388593
fish: Add alias for converting the epoch to a date
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2025-06-23 12:28:31 +03:00
e3ddc0e96a
flake: plasma-manager has been moved to nix-community!
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2025-06-23 10:29:41 +03:00
bae215ec34
keepassxc: Convert to usage of home-manager module
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2025-06-20 23:30:13 +03:00
ddd5c24a64
nixvim: Uninstall legendary
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>

https://github.com/mrjones2014/legendary.nvim/issues/505
2025-06-17 16:47:03 +03:00
bb7748ef5a
nixvim: Unmap <F1>
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2025-06-11 18:19:57 +03:00
32e77fd2c9
nixvim: Create function for unmapping a key
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2025-06-11 18:18:38 +03:00
7 changed files with 50 additions and 37 deletions

View file

@ -8,6 +8,7 @@
./cli.nix
./mpv.nix
./ssh.nix
./keepassxc.nix
];
services.syncthing = {
enable = true;

View file

@ -56,6 +56,7 @@
functions = {
ns = "nix shell nixpkgs#$argv[1]";
nss = "nix shell nixpkgs#$argv[1] -c $argv";
epoch = "date --date +\"@$argv[1]\"";
};
shellAbbrs = {

View file

@ -12,7 +12,7 @@
nix-flatpak.url = "github:gmodena/nix-flatpak";
plasma-manager = {
url = "github:pjones/plasma-manager";
url = "github:nix-community/plasma-manager";
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager";
};

View file

@ -18,39 +18,4 @@
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
'';
}

View file

@ -0,0 +1,42 @@
{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;
};
};
}

View file

@ -17,6 +17,10 @@
key = "${k}";
action = lua "${fn}";
};
unmap = k: {
key = "${k}";
action = "";
};
lkey = k: fn: {
key = ldr "${k}";
action = lua "${fn}";
@ -46,5 +50,6 @@ in {
(key "<F5>" (luafr "nvim-tree.api" "tree.toggle()"))
(lkey "d" "vim.cmd.bdelete")
(unmap "<F1>")
];
}

View file

@ -79,7 +79,6 @@
};
};
programs.nixvim.extraPlugins = [
pkgs.vimPlugins.legendary-nvim
pkgs.vimPlugins.guess-indent-nvim
pkgs.vimPlugins.vim-monokai-tasty
(pkgs.vimUtils.buildVimPlugin {