Use polybar override and added tailscale
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
{
|
||||
imports = [
|
||||
./tailscale.nix
|
||||
./user.nix
|
||||
];
|
||||
}
|
||||
|
||||
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;
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -34,12 +34,15 @@
|
||||
curl
|
||||
git
|
||||
pciutils
|
||||
psmisc
|
||||
vim
|
||||
];
|
||||
|
||||
# - Other --------------------------------------
|
||||
|
||||
networking.networkmanager.enable = true;
|
||||
networking.firewall.checkReversePath = "loose"; # See https://github.com/tailscale/tailscale/issues/4432
|
||||
samfelag.modules.tailscale.enable = true;
|
||||
|
||||
system.stateVersion = "22.05";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user