tailscale: init
This commit is contained in:
parent
d28b38fc94
commit
fba1525ff6
795
flake.lock
795
flake.lock
File diff suppressed because it is too large
Load diff
11
flake.nix
11
flake.nix
|
@ -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
|
||||
];
|
||||
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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)$"
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue