diff options
author | Alex Auvolat <alex@adnab.me> | 2023-08-26 12:21:51 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-08-26 12:21:51 +0200 |
commit | a8dcc5daa0565cfcaf19895dbd9bcf7f1b5cd1c1 (patch) | |
tree | 8e318c9f79129fe28cb4599053aa82baacdb55ef /nixpkgs/kusanagi.nix | |
parent | d48512ea150b0f55520cd59e169ebd57ba19cc38 (diff) | |
download | user-config-a8dcc5daa0565cfcaf19895dbd9bcf7f1b5cd1c1.tar.gz user-config-a8dcc5daa0565cfcaf19895dbd9bcf7f1b5cd1c1.zip |
reorganise home manager file
Diffstat (limited to 'nixpkgs/kusanagi.nix')
-rw-r--r-- | nixpkgs/kusanagi.nix | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/nixpkgs/kusanagi.nix b/nixpkgs/kusanagi.nix index 8021273..2c97fce 100644 --- a/nixpkgs/kusanagi.nix +++ b/nixpkgs/kusanagi.nix @@ -9,18 +9,21 @@ in { imports = [ ./common.nix ]; programs.bash.profileExtra = '' - ln -sf /Z/lx/.ssh ~/.ssh - mkdir -p ~/.gnupg - ln -sf /Z/lx/.gnupg/pubring.kbx ~/.gnupg/ - ln -sf /Z/lx/.gnupg/trustdb.gpg ~/.gnupg/ - ln -sf /Z/lx/.gnupg/private-keys-v1.d ~/.gnupg/ ln -sf /Z/lx/Downloads ~/Downloads - ln -sf /Z/lx/.cargo ~/.cargo + + ln -sf /Z/lx/app/openssh ~/.ssh + mkdir -p ~/.gnupg + ln -sf /Z/lx/app/gnupg/pubring.kbx ~/.gnupg/ + ln -sf /Z/lx/app/gnupg/trustdb.gpg ~/.gnupg/ + ln -sf /Z/lx/app/gnupg/private-keys-v1.d ~/.gnupg/ + ln -sf /Z/lx/app/cargo ~/.cargo ln -sf /Z/lx/app/arduino/Arduino ~/Arduino ln -sf /Z/lx/app/arduino/.arduino15 ~/.arduino15 ''; + programs.bash.shellAliases.z = "cd /Z/lx"; + nixpkgs.config.packageOverrides = pkgs: { nur = import nurSrc { inherit pkgs; }; }; @@ -58,13 +61,17 @@ in { home.homeDirectory = "/home/lx"; xdg.userDirs.download = "/home/lx/Downloads"; - programs.bash.shellAliases.z = "cd /Z/lx"; - services.gpg-agent.enable = true; services.gpg-agent.enableSshSupport = false; services.gpg-agent.pinentryFlavor = "qt"; services.gpg-agent.extraConfig = "no-allow-external-cache"; + programs.keychain = { + enable = true; + enableBashIntegration = true; + keys = [ "/Z/lx/app/openssh/id_ed25519" ]; + }; + services.syncthing.extraOptions = [ "--home=/Z/lx/app/syncthing" ]; } |