Use polybar override and added tailscale
This commit is contained in:
16
system/modules/tailscale.nix
Normal file
16
system/modules/tailscale.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ config, lib, pkgs, self, ... }:
|
||||
|
||||
let
|
||||
cfg = config.samfelag.modules.tailscale;
|
||||
in
|
||||
{
|
||||
options.samfelag.modules.tailscale = {
|
||||
enable = lib.mkEnableOption "tailscale";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user