Merge remote-tracking branch 'origin/nixos' into nixos
This commit is contained in:
commit
97e183ce59
38 changed files with 397 additions and 489 deletions
|
|
@ -84,9 +84,7 @@ in
|
|||
|
||||
environment.systemPackages = with pkgs; [
|
||||
# archives
|
||||
p7zip
|
||||
unzip
|
||||
zip
|
||||
ouch
|
||||
|
||||
# file management
|
||||
trash-cli
|
||||
|
|
|
|||
|
|
@ -73,6 +73,7 @@ in
|
|||
};
|
||||
};
|
||||
services = {
|
||||
illum.enable = true;
|
||||
gnome.gnome-keyring.enable = true;
|
||||
pipewire = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ in
|
|||
synology-drive.enable = true;
|
||||
};
|
||||
programs = {
|
||||
ssh.includeSecrets = mkDefault [ ../../secrets/ssh-home.age ];
|
||||
ssh.includeSecrets = [ ../../secrets/ssh-home.age ];
|
||||
git.signing = mkDefault true;
|
||||
hub.enable = mkDefault true;
|
||||
firefox.arkenfox = {
|
||||
|
|
|
|||
28
modules/profiles/webis.nix
Normal file
28
modules/profiles/webis.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ lib
|
||||
, config
|
||||
, ...
|
||||
}:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.my.profiles.webis;
|
||||
in
|
||||
|
||||
{
|
||||
options.my.profiles.webis.enable = mkEnableOption "webis profile";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
my.programs.ssh.includeSecrets = [ ../../secrets/webis-ssh.age ];
|
||||
age.secrets.webis = {
|
||||
file = ../../secrets/webis.age;
|
||||
name = "webis.ovpn";
|
||||
};
|
||||
services.openvpn.servers = {
|
||||
webis = {
|
||||
config = "config /run/agenix/webis.ovpn";
|
||||
autoStart = false;
|
||||
updateResolvConf = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue