From 42c4cda12e15665b3f4afbb611c0c619345125cf Mon Sep 17 00:00:00 2001 From: teutat3s Date: Sun, 20 Nov 2022 23:17:25 +0100 Subject: [PATCH] teutat3s: disable keybase services for now --- users/teutat3s/home.nix | 56 ++++++++++++++++++++++++++++++----------- 1 file changed, 41 insertions(+), 15 deletions(-) diff --git a/users/teutat3s/home.nix b/users/teutat3s/home.nix index a30bff53..9444ec9c 100644 --- a/users/teutat3s/home.nix +++ b/users/teutat3s/home.nix @@ -1,12 +1,18 @@ -{ config, home-manager, inputs, lib, pkgs, latestModulesPath, ... }: -with lib; -let +{ + config, + home-manager, + inputs, + lib, + pkgs, + latestModulesPath, + ... +}: +with lib; let psCfg = config.pub-solar; xdg = config.home-manager.users."${psCfg.user.name}".xdg; tritonshell = inputs.tritonshell; nix-autobahn = inputs.nix-autobahn; -in -{ +in { imports = [ ./session-variables.nix "${latestModulesPath}/services/security/yubikey-agent.nix" @@ -20,17 +26,37 @@ in pub-solar.graphical.alacritty.settings.font.size = 12; pub-solar.graphical.alacritty.settings.key_bindings = [ - { key = "V"; mods = "Control|Super"; action = "Paste"; } - { key = "C"; mods = "Control|Super"; action = "Copy"; } + { + key = "V"; + mods = "Control|Super"; + action = "Paste"; + } + { + key = "C"; + mods = "Control|Super"; + action = "Copy"; + } ]; - services.kbfs.enable = true; - services.keybase.enable = true; + #services.kbfs.enable = true; + #services.keybase.enable = true; services.yubikey-agent.enable = true; - home-manager = pkgs.lib.setAttrByPath [ "users" psCfg.user.name ] { - xdg.configFile."git/config".text = import ./.config/git/config.nix { inherit config; inherit pkgs; }; - xdg.configFile."git/config_greenbaum.cloud".text = import ./.config/git/config_greenbaum.cloud.nix { inherit config; inherit pkgs; }; - xdg.configFile."git/config_git.b12f.io".text = import ./.config/git/config_git.b12f.io.nix { inherit config; inherit pkgs; }; - xdg.configFile."watson/config".text = import ./.config/watson/config.nix { inherit config; inherit pkgs; }; + home-manager = pkgs.lib.setAttrByPath ["users" psCfg.user.name] { + xdg.configFile."git/config".text = import ./.config/git/config.nix { + inherit config; + inherit pkgs; + }; + xdg.configFile."git/config_greenbaum.cloud".text = import ./.config/git/config_greenbaum.cloud.nix { + inherit config; + inherit pkgs; + }; + xdg.configFile."git/config_git.b12f.io".text = import ./.config/git/config_git.b12f.io.nix { + inherit config; + inherit pkgs; + }; + xdg.configFile."watson/config".text = import ./.config/watson/config.nix { + inherit config; + inherit pkgs; + }; home.packages = with pkgs; [ AusweisApp2 @@ -51,7 +77,7 @@ in ]; programs.zsh = { - initExtra = import ./zshrc.nix { inherit config pkgs tritonshell; }; + initExtra = import ./zshrc.nix {inherit config pkgs tritonshell;}; }; # xdg.configFile."wallpaper.jpg".source = ./assets/wallpaper.jpg;