125 current 2025-10-08 21:31:26 25.05.20251006.20c4598 6.12.50 *
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# flake for blakes nixos config
|
||||
# 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";
|
||||
inputs = {
|
||||
|
||||
@@ -42,21 +42,24 @@
|
||||
};
|
||||
};
|
||||
|
||||
# enable users
|
||||
# configure users & groups
|
||||
users = {
|
||||
blake.enable = true;
|
||||
groups.media = { gid = 700; };
|
||||
blake.enable = true; # main user, home manager
|
||||
groups.media = { gid = 700; }; # user for share permissions with mediastack
|
||||
defaultUserShell = pkgs.zsh; # the goat
|
||||
};
|
||||
|
||||
|
||||
|
||||
# use the systemd-boot EFI boot loader.
|
||||
# boot (systemd is going on me)
|
||||
boot.loader.systemd-boot.enable = true; # systemd your pretty cool ya know
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.initrd.systemd.enable = true; # better logging
|
||||
|
||||
# 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 = {
|
||||
hostName = "snowbelle"; # hostname
|
||||
hostId = "3e6e7055"; # zfs wants this
|
||||
@@ -70,20 +73,22 @@
|
||||
|
||||
# define shell
|
||||
programs.zsh.enable = true;
|
||||
users.defaultUserShell = pkgs.zsh;
|
||||
users.
|
||||
|
||||
# package install list
|
||||
environment.systemPackages = with pkgs; [
|
||||
vim
|
||||
lf
|
||||
git
|
||||
age
|
||||
rsync
|
||||
wget
|
||||
git
|
||||
iptables
|
||||
nettools
|
||||
neofetch
|
||||
curl
|
||||
vim
|
||||
lf
|
||||
btop
|
||||
age
|
||||
neofetch
|
||||
usbutils
|
||||
inetutils
|
||||
iptables
|
||||
];
|
||||
|
||||
|
||||
|
||||
@@ -14,7 +14,12 @@ in
|
||||
enable = true;
|
||||
useRoutingFeatures = "both";
|
||||
authKeyFile = authkey_file;
|
||||
extraUpFlags = [
|
||||
"--accept-routes=false" # true is equilivant to useRoutingFeatures = "client" (breaks shit)
|
||||
"--accept-dns=true" # explicitly allow resolved
|
||||
];
|
||||
};
|
||||
|
||||
# declare authkey secrets
|
||||
sops.secrets = {
|
||||
"tailscale_authkey" = {
|
||||
|
||||
@@ -46,6 +46,7 @@ alias ds='du -hs'
|
||||
|
||||
# shortcuts
|
||||
alias vswap='cd ~/.local/state/nvim/swap'
|
||||
alias rswap='rm ~/.local/state/nvim/swap/*'
|
||||
alias tn='lf ~/documents/holocron/notes/tech'
|
||||
alias nhc='lf ~/documents/holocron/work/nhc'
|
||||
alias diary='cd ~/documents/holocron/notes/journal/diary'
|
||||
|
||||
Reference in New Issue
Block a user