tailscale: init

This commit is contained in:
Christoph Hollizeck 2025-01-26 00:26:29 +01:00
parent d28b38fc94
commit fba1525ff6
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
4 changed files with 339 additions and 487 deletions

File diff suppressed because it is too large Load diff

View file

@ -30,7 +30,7 @@
###
# hyprland stuff
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
hyprland.url = "github:hyprwm/Hyprland";
hyprlock.url = "github:hyprwm/hyprlock";
hyprland-plugins = {
url = "github:hyprwm/hyprland-plugins";
@ -56,12 +56,6 @@
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
# still not sure if I like helix or nvim more, for now helix does mostly everything I need it to
kickstartnvim = {
url = "github:Daholli/kickstart-nix-nvim";
inputs.nixpkgs.follows = "nixpkgs";
};
helix = {
url = "github:helix-editor/helix";
inputs.nixpkgs.follows = "nixpkgs";
@ -86,6 +80,8 @@
simple-nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-24.05";
catppuccin.url = "github:catppuccin/nix";
nix-gaming.url = "github:fufexan/nix-gaming";
################
## inputs for dev shells
@ -122,7 +118,6 @@
overlays = with inputs; [
snowfall-flake.overlays.default
kickstartnvim.overlays.default
hyprpanel.overlay
];

View file

@ -51,6 +51,11 @@ in
OOMScoreAdjust = 500;
};
services.tailscale = {
enable = true;
useRoutingFeatures = "server";
};
networking = {
interfaces.wlan0 = {
ipv4.addresses = [
@ -129,7 +134,7 @@ in
};
};
# Pi specific stuff
# Pi specific stuff
raspberry-pi-nix.board = "bcm2712";
hardware = {
raspberry-pi = {

View file

@ -1,4 +1,5 @@
{
inputs,
lib,
namespace,
pkgs,
@ -17,7 +18,10 @@ in
zed-editor
# eve
# bottles
bottles
pyfa
unzip
];
environment.pathsToLink = [ "/libexec" ];
@ -31,6 +35,11 @@ in
backupFileExtension = ".bak";
};
services.tailscale = {
enable = true;
useRoutingFeatures = "server";
};
nix = {
distributedBuilds = true;
settings.builders-use-substitutes = true;
@ -99,7 +108,7 @@ in
windowrulev2 = [
"workspace 8 silent, class:^(steam)$, title:^(Friends List)"
"workspace 8 silent, class:^(vesktop)$, title:^(Discord)"
"workspace 8 silent, class:^(discord)$, title:^(Discord)"
"workspace 7 silent, class:^(com.obsproject.Studio)$"
];
};