This commit is contained in:
ari committed 2025-03-13 09:58:22 -04:00
1 parent 2aa4721c55
commit 056ca7813f
3 files changed
+29

No files matched your search

+2
View File
@@ -11,6 +11,7 @@ in
imports = [ ./fwbook.hardware-configuration.nix ];
# Skyg
environment.sessionVariables.COSMIC_DATA_CONTROL_ENABLED = 1;
environment.sessionVariables.ELECTRON_OZONE_PLATFORM_HINT = "wayland";
skyg = {
user.enable = true;
server.admin.enable = true;
@@ -22,6 +23,7 @@ in
laptop-power-mgr.enable = true;
amdgpu.enable = true;
};
common.pritunl.enable = true;
desktop = {
enable = true;
cosmic.enable = true;
+1
View File
@@ -9,5 +9,6 @@
./fonts.nix
./ssh-server.nix
./qemu.nix
./pritunl
];
}
+26
View File
@@ -0,0 +1,26 @@
{ config, lib, pkgs, ... }:
let
cfg = config.skyg.common.pritunl;
in
{
options = {
skyg.common.pritunl = {
enable = lib.mkEnableOption "Enable Pritunl";
};
};
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
pritunl-client
];
systemd.services.pritunl-client-service = {
wantedBy = [ "multi-user.target" ];
after = [ "network.target" ];
description = "Starts the pritunl client service";
serviceConfig = {
Type = "simple";
User = "root";
ExecStart = ''${pkgs.pritunl-client}/bin/pritunl-client-service'';
};
};
};
}