gomuks
This commit is contained in:
parent
4742abfe15
commit
948353107d
5 changed files with 31 additions and 0 deletions
|
@ -128,6 +128,8 @@ in
|
|||
workspace 3
|
||||
exec ${pkgs.kitty}/bin/kitty -e ${pkgs.tmuxinator}/bin/tmuxinator start mail
|
||||
workspace 4
|
||||
exec ${pkgs.gomuks}/bin/gomuks
|
||||
workspace 4
|
||||
exec ${pkgs.teams}/bin/teams
|
||||
workspace 2
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
docker.enable = true;
|
||||
eid.enable = true;
|
||||
git.email = "charlotte.vanpetegem@ugent.be";
|
||||
gomuks.enable = true;
|
||||
nix.enableUnfree = true;
|
||||
zfs = {
|
||||
enable = true;
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
docker.enable = true;
|
||||
eid.enable = true;
|
||||
git.email = "charlotte@vanpetegem.me";
|
||||
gomuks.enable = true;
|
||||
nix.enableUnfree = true;
|
||||
zeroad.enable = true;
|
||||
zfs = {
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
./eid.nix
|
||||
./git.nix
|
||||
./global-mailer.nix
|
||||
./gomuks.nix
|
||||
./neovim.nix
|
||||
./nix.nix
|
||||
./nginx.nix
|
||||
|
|
26
modules/gomuks.nix
Normal file
26
modules/gomuks.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
let cfg = config.chvp;
|
||||
in
|
||||
{
|
||||
options.chvp.gomuks.enable = lib.mkOption {
|
||||
default = false;
|
||||
example = true;
|
||||
};
|
||||
|
||||
config = lib.mkIf config.chvp.gomuks.enable {
|
||||
nixpkgs.overlays = [
|
||||
(self: super: {
|
||||
gomuks = pkgs.writeShellScriptBin "gomuks" ''
|
||||
export GOMUKS_CACHE_HOME="${cfg.cachePrefix}${config.users.users.charlotte.home}/.cache/gomuks"
|
||||
export GOMUKS_DATA_HOME="${cfg.cachePrefix}${config.users.users.charlotte.home}/.local/share/gomuks"
|
||||
export GOMUKS_CONFIG_HOME="${cfg.cachePrefix}${config.users.users.charlotte.home}/.config/gomuks"
|
||||
${super.alacritty}/bin/alacritty -e ${super.gomuks}/bin/gomuks
|
||||
'';
|
||||
})
|
||||
];
|
||||
|
||||
home-manager.users.charlotte = { ... }: {
|
||||
home.packages = [ pkgs.gomuks ];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue