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
|
workspace 3
|
||||||
exec ${pkgs.kitty}/bin/kitty -e ${pkgs.tmuxinator}/bin/tmuxinator start mail
|
exec ${pkgs.kitty}/bin/kitty -e ${pkgs.tmuxinator}/bin/tmuxinator start mail
|
||||||
workspace 4
|
workspace 4
|
||||||
|
exec ${pkgs.gomuks}/bin/gomuks
|
||||||
|
workspace 4
|
||||||
exec ${pkgs.teams}/bin/teams
|
exec ${pkgs.teams}/bin/teams
|
||||||
workspace 2
|
workspace 2
|
||||||
|
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
docker.enable = true;
|
docker.enable = true;
|
||||||
eid.enable = true;
|
eid.enable = true;
|
||||||
git.email = "charlotte.vanpetegem@ugent.be";
|
git.email = "charlotte.vanpetegem@ugent.be";
|
||||||
|
gomuks.enable = true;
|
||||||
nix.enableUnfree = true;
|
nix.enableUnfree = true;
|
||||||
zfs = {
|
zfs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
docker.enable = true;
|
docker.enable = true;
|
||||||
eid.enable = true;
|
eid.enable = true;
|
||||||
git.email = "charlotte@vanpetegem.me";
|
git.email = "charlotte@vanpetegem.me";
|
||||||
|
gomuks.enable = true;
|
||||||
nix.enableUnfree = true;
|
nix.enableUnfree = true;
|
||||||
zeroad.enable = true;
|
zeroad.enable = true;
|
||||||
zfs = {
|
zfs = {
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
./eid.nix
|
./eid.nix
|
||||||
./git.nix
|
./git.nix
|
||||||
./global-mailer.nix
|
./global-mailer.nix
|
||||||
|
./gomuks.nix
|
||||||
./neovim.nix
|
./neovim.nix
|
||||||
./nix.nix
|
./nix.nix
|
||||||
./nginx.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