125 current 2025-10-08 21:31:26 25.05.20251006.20c4598 6.12.50 *

This commit is contained in:
2025-10-08 22:04:04 -05:00
parent 78a14a7feb
commit 9d7dd26b7d
4 changed files with 27 additions and 16 deletions

View File

@@ -1,6 +1,6 @@
# flake for blakes nixos config # flake for blakes nixos config
# define new devices in outputs # define new devices in outputs
# generation: 124 current 2025-10-08 20:35:43 25.05.20251006.20c4598 6.12.50 * # generation: 125 current 2025-10-08 21:31:26 25.05.20251006.20c4598 6.12.50 *
{ {
description = "blakes nix config"; description = "blakes nix config";
inputs = { inputs = {

View File

@@ -42,21 +42,24 @@
}; };
}; };
# enable users # configure users & groups
users = { users = {
blake.enable = true; blake.enable = true; # main user, home manager
groups.media = { gid = 700; }; groups.media = { gid = 700; }; # user for share permissions with mediastack
defaultUserShell = pkgs.zsh; # the goat
}; };
# boot (systemd is going on me)
# use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true; # systemd your pretty cool ya know boot.loader.systemd-boot.enable = true; # systemd your pretty cool ya know
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.initrd.systemd.enable = true; # better logging boot.initrd.systemd.enable = true; # better logging
# setup hostname and networking stack # setup hostname and networking stack
services.resolved.enable = true; services.resolved = {
enable = true;
fallbackDns = [ "1.1.1.1" "9.9.9.9" ];
dnsovertls = "opportunistic";
};
networking = { networking = {
hostName = "snowbelle"; # hostname hostName = "snowbelle"; # hostname
hostId = "3e6e7055"; # zfs wants this hostId = "3e6e7055"; # zfs wants this
@@ -70,20 +73,22 @@
# define shell # define shell
programs.zsh.enable = true; programs.zsh.enable = true;
users.defaultUserShell = pkgs.zsh; users.
# package install list # package install list
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
vim git
lf age
rsync rsync
wget wget
git curl
iptables vim
nettools lf
neofetch
btop btop
age neofetch
usbutils
inetutils
iptables
]; ];

View File

@@ -14,7 +14,12 @@ in
enable = true; enable = true;
useRoutingFeatures = "both"; useRoutingFeatures = "both";
authKeyFile = authkey_file; authKeyFile = authkey_file;
extraUpFlags = [
"--accept-routes=false" # true is equilivant to useRoutingFeatures = "client" (breaks shit)
"--accept-dns=true" # explicitly allow resolved
];
}; };
# declare authkey secrets # declare authkey secrets
sops.secrets = { sops.secrets = {
"tailscale_authkey" = { "tailscale_authkey" = {

View File

@@ -46,6 +46,7 @@ alias ds='du -hs'
# shortcuts # shortcuts
alias vswap='cd ~/.local/state/nvim/swap' alias vswap='cd ~/.local/state/nvim/swap'
alias rswap='rm ~/.local/state/nvim/swap/*'
alias tn='lf ~/documents/holocron/notes/tech' alias tn='lf ~/documents/holocron/notes/tech'
alias nhc='lf ~/documents/holocron/work/nhc' alias nhc='lf ~/documents/holocron/work/nhc'
alias diary='cd ~/documents/holocron/notes/journal/diary' alias diary='cd ~/documents/holocron/notes/journal/diary'