2022-07-07 20:22:43 +00:00
|
|
|
{ config, home-manager, inputs, lib, pkgs, latestModulesPath, ... }:
|
2021-06-06 13:22:44 +00:00
|
|
|
with lib;
|
|
|
|
let
|
|
|
|
psCfg = config.pub-solar;
|
|
|
|
xdg = config.home-manager.users."${psCfg.user.name}".xdg;
|
2022-03-04 14:11:19 +00:00
|
|
|
tritonshell = inputs.tritonshell;
|
2022-03-23 10:06:17 +00:00
|
|
|
nix-autobahn = inputs.nix-autobahn;
|
2021-06-06 13:22:44 +00:00
|
|
|
in
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./session-variables.nix
|
2022-07-07 20:22:43 +00:00
|
|
|
"${latestModulesPath}/services/security/yubikey-agent.nix"
|
|
|
|
];
|
|
|
|
disabledModules = [
|
|
|
|
"services/security/yubikey-agent.nix"
|
2021-06-06 13:22:44 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
config = {
|
2022-01-31 16:50:01 +00:00
|
|
|
pub-solar.social.enable = true;
|
|
|
|
|
2021-06-06 13:22:44 +00:00
|
|
|
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"; }
|
|
|
|
];
|
2022-01-19 00:13:15 +00:00
|
|
|
services.kbfs.enable = true;
|
|
|
|
services.keybase.enable = true;
|
2021-06-06 13:22:44 +00:00
|
|
|
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; };
|
2022-01-19 00:13:15 +00:00
|
|
|
xdg.configFile."watson/config".text = import ./.config/watson/config.nix { inherit config; inherit pkgs; };
|
2021-06-06 13:22:44 +00:00
|
|
|
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
AusweisApp2
|
|
|
|
consul
|
2022-01-19 00:13:15 +00:00
|
|
|
gpu-switch
|
2021-10-11 22:36:44 +00:00
|
|
|
ifmetric
|
|
|
|
ipmitool
|
2021-06-06 13:22:44 +00:00
|
|
|
keybase-gui
|
2022-06-02 08:48:44 +00:00
|
|
|
nomad_1_3
|
2021-06-06 13:22:44 +00:00
|
|
|
thunderbird
|
|
|
|
vault
|
|
|
|
veracrypt
|
|
|
|
waypoint
|
2022-07-07 20:22:43 +00:00
|
|
|
yubikey-agent
|
2022-03-23 10:06:17 +00:00
|
|
|
nix-autobahn.packages.${pkgs.system}.nix-autobahn
|
2021-06-06 13:22:44 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
programs.zsh = {
|
2022-03-04 14:11:19 +00:00
|
|
|
initExtra = import ./zshrc.nix { inherit config pkgs tritonshell; };
|
2021-06-06 13:22:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# xdg.configFile."wallpaper.jpg".source = ./assets/wallpaper.jpg;
|
|
|
|
};
|
|
|
|
|
|
|
|
#services.mopidy.configuration = mkIf config.pub-solar.audio.enable (builtins.readFile ../../secrets/mopidy.conf);
|
|
|
|
};
|
|
|
|
}
|