rL2^L^%muYH
zb%BY3Z+>ZB2`IN|_+{p0B`UZlW~QX(DHy@*$Lz{dGx$vv{8IBlc{n|_2-)|>FzacX
z@XQn(D-+d=VGW6p{L+m4Qkd1W^|`r%XI@EBKBzJP4NGAry;7P+yoEwYVs@%Rex8DF
zs)B~2u16xw+n9rD)QoUTh2WB+)YOt*|~WNLBXythcwVK85$ZZxECdsfjY8Isi`G7sYp=~0WSlpY3c+MaKPs(
z_?M%Uzb3E%plLB+XbQF6H8CC4_fYFgrZ^X2cps@nu%Heaw53Co
zT3DU$OmtHR+{`PEcPUCu%msG~bmQHNQbD8jAQCZ{P5eASeqLsBykkmPYFGHL
zwBg+|K*P-7!9`fx6FFU?cF~Db4EIY0rp2ixi8Nvupv%1PA(4?sH`lV|`$mkWuyic%95ObszCwP5LF~DR>rT7H24AWu{{|
zjl@WCA}d6kDYe#_ENfjTwbq3!Yh5X|)|D)4-6*xzjVx>3DYe!eY;DODXX0x{q#1Jm
zl*;1bRL~T;S7~lRd}u*DxOfFk(jw-mdN49SQVAVWl$uyvT9m2~Qj}kossNgZf|b;0
z;~&rwUf8HI=^EiBH)gK}>>zAaHDnwgG+P83;MP?LPEO1%NG$?QITfWAE9fc&=VTTH
zXD61VDg@``7o>tp{LJF)N`>%@%;N0SBIsZ}te(eTS>=}&<))S>1SKZJr+~oqAap{}"
- },
- "idle_inhibitor": {
- "format": "{icon}",
- "format-icons": {
- "activated": "",
- "deactivated": ""
- }
- },
- "tray": {
- "spacing": 10
- },
- "clock": {
- "timezone": "US/Eastern",
- "interval": 1,
- "format": "{:%R:%S}",
- "tooltip-format": "{:%R : %S}\n{calendar}",
- "format-alt": "{:%d %b %Y}"
- },
- "cpu": {
- "format": "{usage}% ",
- "tooltip": false
- },
- "memory": {
- "format": "{}% "
- },
- "temperature": {
- "critical-threshold": 80,
- "format": "{temperatureC}°C {icon}",
- "format-icons": ["", "", ""]
- },
- "backlight": {
- "format": "{percent}% {icon}",
- "format-icons": ["", ""]
- },
- "battery": {
- "states": {
- "good": 80,
- "warning": 30,
- "critical": 15
- },
- "format": "{capacity}% {icon}",
- "format-charging": "{capacity}% ",
- "format-plugged": "{capacity}% ",
- "format-alt": "{time} {icon}",
- "format-icons": ["", "", "", "", ""]
- },
- "battery#bat2": {
- "bat": "BAT2"
- },
- "network": {
- "format-wifi": "{essid}",
- "format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
- "format-linked": "{ifname} (No IP) ",
- "format-disconnected": "Disconnected! ⚠",
- "format-alt": "{ifname}: {ipaddr}/{cidr}"
- },
-
- "pulseaudio": {
- "format": "{volume}% {icon} {format_source}",
- "format-bluetooth": "{volume}% {icon} {format_source}",
- "format-bluetooth-muted": " {icon} {format_source}",
- "format-muted": " {format_source}",
- "format-source": "{volume}% ",
- "format-source-muted": "",
- "format-icons": {
- "headphone": "",
- "hands-free": "",
- "headset": "",
- "phone": "",
- "portable": "",
- "car": "",
- "default": ["", "", ""]
- },
- "on-click": "pavucontrol"
- },
- "custom/media": {
- "format": "{icon}{}",
- "return-type": "json",
- "format-icons": {
- "Playing": " ",
- "Paused": " ",
- },
- "max-length":70,
- "exec": "playerctl -a metadata --format '{\"text\": \"{{playerName}}: {{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
- "on-click": "playerctl play-pause",
- },
-}
diff --git a/oldconfig/waybar/mocha.css b/oldconfig/waybar/mocha.css
deleted file mode 100644
index 98e218a1..00000000
--- a/oldconfig/waybar/mocha.css
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
-*
-* Catppuccin Mocha palette
-* Maintainer: rubyowo
-*
-*/
-
-@define-color base #1e1e2e;
-@define-color mantle #181825;
-@define-color crust #11111b;
-
-@define-color text #cdd6f4;
-@define-color subtext0 #a6adc8;
-@define-color subtext1 #bac2de;
-
-@define-color surface0 #313244;
-@define-color surface1 #45475a;
-@define-color surface2 #585b70;
-
-@define-color overlay0 #6c7086;
-@define-color overlay1 #7f849c;
-@define-color overlay2 #9399b2;
-
-@define-color blue #89b4fa;
-@define-color lavender #b4befe;
-@define-color sapphire #74c7ec;
-@define-color sky #89dceb;
-@define-color teal #94e2d5;
-@define-color green #a6e3a1;
-@define-color yellow #f9e2af;
-@define-color peach #fab387;
-@define-color maroon #eba0ac;
-@define-color red #f38ba8;
-@define-color mauve #cba6f7;
-@define-color pink #f5c2e7;
-@define-color flamingo #f2cdcd;
-@define-color rosewater #f5e0dc;
diff --git a/oldconfig/waybar/style.css b/oldconfig/waybar/style.css
deleted file mode 100644
index 8c19a2c2..00000000
--- a/oldconfig/waybar/style.css
+++ /dev/null
@@ -1,117 +0,0 @@
-@import "mocha.css";
-#waybar {
- font-family: BlexMono Nerd Font, sans-serif;
- font-size: 16px;
-}
-
-#window {
- padding: 0 10px;
-}
-
-window#waybar {
- border: none;
- border-radius: 0;
- box-shadow: none;
- text-shadow: none;
- transition-duration: 0s;
- color: @text;
- background: @base;
-}
-
-#workspaces {
- margin: 0 5px;
-}
-
-#workspaces button {
- padding: 0 8px;
- color: @text;
- border: 2px solid @subtext0;
- border-radius: 10px;
- min-width: 25px;
- margin-right: 8px;
-}
-
-#workspaces button.visible {
- color: @subtext0;
-}
-
-#workspaces button.focused {
- border: 3px solid @mauve;
-}
-
-#workspaces button.urgent {
- background-color: @red;
-}
-
-#workspaces button:hover {
- box-shadow: inherit;
- border-color: @blue;
- color: @blue;
-}
-
-/* Repeat style here to ensure properties are overwritten as there's no !important and button:hover above resets the colour */
-
-#workspaces button.focused {
- color: @subtext0;
-}
-#workspaces button.focused:hover {
- color: @text;
-}
-
-#tray,
-#mode,
-#battery,
-#temperature,
-#cpu,
-#memory,
-#network,
-#pulseaudio,
-#clock,
-#idle_inhibitor,
-#sway-language,
-#backlight {
- padding: 2px 8px;
- margin: 2px 5px;
- color: @text;
-}
-
-#tray:hover,
-#mode:hover,
-#battery:hover,
-#temperature:hover,
-#cpu:hover,
-#memory:hover,
-#network:hover,
-#pulseaudio:hover,
-#clock:hover,
-#idle_inhibitor:hover,
-#sway-language:hover,
-#backlight:hover {
- padding: 2px 8px;
- margin: 2px 5px;
- color: @base;
- background-color: @subtext1;
-}
-
-#clock {
- font-weight: bold;
-}
-
-#battery.warning {
- color: @yellow;
-}
-
-#battery.critical {
- color: @red;
-}
-
-#battery.charging {
- color: @green;
-}
-
-@keyframes blink {
- to {
- background-color: #ffffff;
- color: black;
- }
-}
--
2.51.2
From c86c56fca0ac91a63b77af978d59444551639db0 Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Fri, 7 Jun 2024 22:55:35 -0400
Subject: [PATCH 067/105] [modules.home] Actually make profiles options
---
modules/home/profiles/base/default.nix | 37 +++---
modules/home/profiles/cli/default.nix | 93 +++++++--------
modules/home/profiles/cli/rbw-config.json | 1 +
modules/home/profiles/desktop/default.nix | 65 ++++++-----
modules/home/profiles/development/default.nix | 31 +++--
modules/home/profiles/gui/default.nix | 108 +++++++++---------
modules/home/profiles/server/default.nix | 16 ++-
7 files changed, 180 insertions(+), 171 deletions(-)
create mode 100644 modules/home/profiles/cli/rbw-config.json
diff --git a/modules/home/profiles/base/default.nix b/modules/home/profiles/base/default.nix
index da96786d..a0f864c8 100644
--- a/modules/home/profiles/base/default.nix
+++ b/modules/home/profiles/base/default.nix
@@ -1,18 +1,25 @@
-{ ... }:
{
- imports = [
- ../programs/gpg.nix
- ../xdg.nix
- ];
- programs.home-manager.enable = true;
- home.stateVersion = "24.05";
- home.language = {
- base = "en_US.utf8";
- };
- manual = {
- manpages.enable = false;
- html.enable = false;
- json.enable = false;
+ config,
+ lib,
+ osConfig,
+ ...
+}:
+let
+ cfg = config.py.profiles.base;
+in
+{
+ options.py.profiles.base.enable = lib.mkEnableOption "Base Home Profile";
+ config = lib.mkIf cfg.enable {
+ programs.home-manager.enable = true;
+ home.stateVersion = osConfig.system.stateVersion;
+ home.language = {
+ base = "en_US.utf8";
+ };
+ manual = {
+ manpages.enable = false;
+ html.enable = false;
+ json.enable = false;
+ };
+ programs.man.enable = false;
};
- programs.man.enable = false;
}
diff --git a/modules/home/profiles/cli/default.nix b/modules/home/profiles/cli/default.nix
index 688f4200..f68f42f2 100644
--- a/modules/home/profiles/cli/default.nix
+++ b/modules/home/profiles/cli/default.nix
@@ -1,55 +1,48 @@
-{ pkgs, ... }:
{
- imports = [
- ../programs/bat.nix
- ../programs/direnv.nix
- ../programs/fish.nix
- ../programs/fzf.nix
- ../programs/helix.nix
- ../programs/neovim.nix
- ../programs/nix-index.nix
- ../programs/nushell
- ../programs/pandoc.nix
- ../programs/ssh
- ../programs/starship.nix
- ../programs/zoxide.nix
- ../programs/zsh.nix
-
- ../files/distrobox-config.nix
- ];
- py.programs = {
- git.enable = true;
- gh.enable = true;
- lazygit.enable = true;
- };
- programs = {
- eza = {
- enable = true;
- icons = true;
- git = true;
- enableBashIntegration = false;
- enableIonIntegration = false;
+ pkgs,
+ lib,
+ config,
+ ...
+}:
+let
+ cfg = config.py.profiles.cli;
+in
+{
+ options.py.profiles.cli.enable = lib.mkEnableOption "CLI Profile";
+ config = lib.mkIf cfg.enable {
+ py.programs = {
+ git.enable = true;
+ gh.enable = true;
+ lazygit.enable = true;
};
- btop = {
- enable = true;
- catppuccin.enable = true;
+ programs = {
+ eza = {
+ enable = true;
+ icons = true;
+ git = true;
+ enableBashIntegration = false;
+ enableIonIntegration = false;
+ };
+ btop = {
+ enable = true;
+ catppuccin.enable = true;
+ };
+ glamour.catppuccin.enable = true;
};
- glamour.catppuccin.enable = true;
- };
- xdg.configFile = {
- "rbw".source = ../../oldconfig/rbw;
- "rbw".recursive = true;
+ xdg.configFile = {
+ "rbw/config.json".source = ./rbw-config.json;
+ };
+ home.packages = with pkgs; [
+ btrfs-progs
+ fd
+ fzf
+ glow
+ gnupg
+ pinentry
+ rbw
+ rsync
+ xdg-utils
+ yt-dlp
+ ];
};
- home.packages = with pkgs; [
- btrfs-progs
- fd
- fzf
- glow
- gnupg
- pinentry
- rbw
- rsync
- xdg-utils
- yt-dlp
- ];
}
diff --git a/modules/home/profiles/cli/rbw-config.json b/modules/home/profiles/cli/rbw-config.json
new file mode 100644
index 00000000..13817d89
--- /dev/null
+++ b/modules/home/profiles/cli/rbw-config.json
@@ -0,0 +1 @@
+{"email":"pyrox@pyrox.dev","base_url":"https://bw.pyrox.dev","identity_url":null,"lock_timeout":3600,"pinentry":"pinentry"}
diff --git a/modules/home/profiles/desktop/default.nix b/modules/home/profiles/desktop/default.nix
index bdc29740..65c91136 100644
--- a/modules/home/profiles/desktop/default.nix
+++ b/modules/home/profiles/desktop/default.nix
@@ -1,37 +1,36 @@
-{ pkgs, ... }:
{
- imports = [
- ./base.nix
- ./cli.nix
- ./gui.nix
- ./development.nix
- # ../email.nix
- # ../programs/email.nix
- ];
- programs.mpv.enable = true;
- home.packages = with pkgs; [
- appimage-run
- brightnessctl
- ciscoPacketTracer8
- dex
- keepassxc
- (mumble.override { pipewireSupport = true; })
- playerctl
- pulseaudio-ctl
- thunderbird
- wlogout
- wl-clipboard
- zotero
- ];
- xdg.configFile = {
- "waybar/style.css" = {
- source = ../../oldconfig/waybar/style.css;
- recursive = false;
- };
- "waybar/mocha.css" = {
- source = ../../oldconfig/waybar/mocha.css;
- recursive = false;
+ pkgs,
+ config,
+ lib,
+ ...
+}:
+let
+ cfg = config.py.profiles.desktop;
+ inherit (lib) mkIf mkDefault mkEnableOption;
+in
+{
+ options.py.profiles.desktop.enable = mkEnableOption "Desktop Config";
+ config = mkIf cfg.enable {
+ py.profiles = {
+ base.enable = mkDefault true;
+ gui.enable = mkDefault true;
+ development.enable = mkDefault true;
};
+ programs.mpv.enable = mkDefault true;
+ home.packages = with pkgs; [
+ appimage-run
+ brightnessctl
+ ciscoPacketTracer8
+ dex
+ keepassxc
+ (mumble.override { pipewireSupport = true; })
+ playerctl
+ pulseaudio-ctl
+ thunderbird
+ wlogout
+ wl-clipboard
+ zotero
+ ];
+ services.easyeffects.enable = mkDefault true;
};
- services.easyeffects.enable = true;
}
diff --git a/modules/home/profiles/development/default.nix b/modules/home/profiles/development/default.nix
index 1c39e99d..6965463a 100644
--- a/modules/home/profiles/development/default.nix
+++ b/modules/home/profiles/development/default.nix
@@ -1,16 +1,25 @@
-{ pkgs, ... }:
+{
+ pkgs,
+ lib,
+ config,
+ ...
+}:
let
customPython = pkgs.python312.withPackages (ps: [ ps.pip ]);
+ cfg = config.py.profiles.dev;
in
{
- home.packages = with pkgs; [
- alejandra
- any-nix-shell
- cargo
- colmena
- customPython
- editorconfig-core-c
- nil
- nixd
- ];
+ options.py.profiles.development.enable = lib.mkEnableOption "Development Profile";
+ config.home.packages =
+ with pkgs;
+ lib.mkIf cfg.enable [
+ alejandra
+ any-nix-shell
+ cargo
+ colmena
+ customPython
+ editorconfig-core-c
+ nil
+ nixd
+ ];
}
diff --git a/modules/home/profiles/gui/default.nix b/modules/home/profiles/gui/default.nix
index b439c8b1..36fb65bf 100644
--- a/modules/home/profiles/gui/default.nix
+++ b/modules/home/profiles/gui/default.nix
@@ -1,65 +1,59 @@
{
pkgs,
- # games ? true,
- # social ? true,
+ lib,
+ config,
...
}:
+let
+ cfg = config.py.profiles.gui;
+ inherit (lib) mkEnableOption mkIf mkDefault;
+in
{
- imports = [
- ../wayland/sway.nix
-
- ../programs/kitty.nix
- ../programs/obs.nix
- ../programs/vscodium.nix
- ../programs/wlogout
-
- ../services/gpg-agent.nix
- ../services/kanshi.nix
- ../services/mako.nix
- ../services/mpd.nix
- ../services/syncthing.nix
-
- ../theming.nix
-
- ../files/ssh-auth-signers.nix
- ../files/rbw-gc.nix
- ../files/pamKeys.nix
- ];
- home.sessionVariables = {
- XDG_CURRENT_DESKTOP = "sway";
- };
- py.programs = {
- firefox = {
- enable = true;
- prefs.enable = true;
- policies.enable = true;
+ options.py.profiles.gui.enable = mkEnableOption "GUI Profile";
+ config = mkIf cfg.enable {
+ home.sessionVariables = {
+ XDG_CURRENT_DESKTOP = "sway";
+ };
+ py = {
+ gui.enable = true;
+ programs = {
+ chromium.enable = mkDefault true;
+ firefox = {
+ enable = mkDefault true;
+ prefs.enable = mkDefault true;
+ policies.enable = mkDefault true;
+ };
+ kitty.enable = mkDefault true;
+ obs.enable = mkDefault true;
+ vscodium.enable = mkDefault true;
+ wlogout.enable = mkDefault true;
+ };
+ services = {
+ gpg-agent.enable = mkDefault true;
+ mako.enable = mkDefault true;
+ syncthing.enable = mkDefault true;
+ };
};
- chromium.enable = true;
+ home.packages = with pkgs; [
+ jetbrains-toolbox
+ libappindicator
+ libappindicator-gtk3
+ pavucontrol
+ grim
+ slurp
+ satty
+ sway-launcher-desktop
+ ueberzug
+ lutris
+ py.olympus
+ py.git-credential-rbw
+ prismlauncher
+ protontricks
+ proton-caller
+ gajim
+ tauon
+ (vesktop.override { withSystemVencord = false; })
+ krita
+ ];
};
- home.packages = with pkgs; [
- jetbrains-toolbox
- libappindicator
- libappindicator-gtk3
- pavucontrol
- grim
- slurp
- satty
- sway-launcher-desktop
- ueberzug
- vscode
- # ] ++ lib.optionals games [
- # factorio-experimental
- lutris
- # py.olympus
- prismlauncher
- protontricks
- proton-caller
- # ] ++ lib.optionals social [
- gajim
- tauon
- (vesktop.override { withSystemVencord = false; })
- # pidginWithPlugins
- # ] ++ lib.optionals drawing [
- krita
- ];
}
diff --git a/modules/home/profiles/server/default.nix b/modules/home/profiles/server/default.nix
index ada53487..8848258c 100644
--- a/modules/home/profiles/server/default.nix
+++ b/modules/home/profiles/server/default.nix
@@ -1,7 +1,13 @@
-{ ... }:
+{ lib, config, ... }:
+let
+ cfg = config.py.profiles.server;
+in
{
- imports = [
- ./base.nix
- ./cli.nix
- ];
+ options.py.profiles.server.enable = lib.mkEnableOption "Server Profile";
+ config = lib.mkIf cfg.enable {
+ py.profiles = {
+ base.enable = lib.mkDefault true;
+ cli.enable = lib.mkDefault true;
+ };
+ };
}
--
2.51.2
From b2cbefdcd02338dd8a8509cda064ac4182123298 Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Fri, 7 Jun 2024 22:55:56 -0400
Subject: [PATCH 068/105] [modules.home] Update theming, wayland, and xdg
modules
---
modules/home/theming/default.nix | 5 +-
modules/home/wayland/keybindings.nix | 3 +-
modules/home/wayland/sway.nix | 2 +-
modules/home/wayland/swaylock.nix | 8 +-
modules/home/wayland/waybar-mocha.css | 37 ++++
modules/home/wayland/waybar-style.css | 119 +++++++++++
modules/home/wayland/waybar.nix | 274 ++++++++++++++------------
modules/home/xdg/default.nix | 9 +-
8 files changed, 315 insertions(+), 142 deletions(-)
create mode 100644 modules/home/wayland/waybar-mocha.css
create mode 100644 modules/home/wayland/waybar-style.css
diff --git a/modules/home/theming/default.nix b/modules/home/theming/default.nix
index e2a2f10a..007f6296 100644
--- a/modules/home/theming/default.nix
+++ b/modules/home/theming/default.nix
@@ -2,18 +2,17 @@
pkgs,
config,
lib,
- osConfig,
...
}:
let
- osPro = osConfig.py.profiles;
+ pro = config.py.profiles;
in
{
catppuccin = {
flavor = "mocha";
accent = "blue";
};
- gtk = lib.mkIf osPro.graphical.enable {
+ gtk = lib.mkIf pro.gui.enable {
enable = true;
catppuccin = {
enable = true;
diff --git a/modules/home/wayland/keybindings.nix b/modules/home/wayland/keybindings.nix
index 9ecd60d9..4da6733d 100644
--- a/modules/home/wayland/keybindings.nix
+++ b/modules/home/wayland/keybindings.nix
@@ -7,9 +7,10 @@ let
slurp-screen = "\"$(slurp -c -b '#1e1e2e80' -o -r)\" -";
slurp-box = "\"$(slurp -c '#f38ba8ff' -b '#1e1e2e80' -w 1 -d -F 'IBM Plex Mono')\" -";
satty = "satty -f -";
+ cfg = config.py.gui;
in
{
- wayland.windowManager.sway.config.keybindings = lib.mkOptionDefault {
+ config.wayland.windowManager.sway.config.keybindings = lib.mkOptionDefault lib.mkIf cfg.enable {
"${mod}+d" = "${menu}";
"${mod}+Shift+F" = "exec MOZ_DISABLE_RDD_SANDBOX=1 firefox";
"${mod}+Return" = "exec ${term}";
diff --git a/modules/home/wayland/sway.nix b/modules/home/wayland/sway.nix
index d9b73ced..cd2c8ca4 100644
--- a/modules/home/wayland/sway.nix
+++ b/modules/home/wayland/sway.nix
@@ -18,7 +18,7 @@ in
XDG_CURRENT_DESKTOP = "sway";
};
wayland.windowManager.sway = {
- enable = true;
+ enable = lib.mkDefault true;
package = null;
catppuccin.enable = true;
# nix-community/home-manager/issues/5311
diff --git a/modules/home/wayland/swaylock.nix b/modules/home/wayland/swaylock.nix
index 393aec93..760283d5 100644
--- a/modules/home/wayland/swaylock.nix
+++ b/modules/home/wayland/swaylock.nix
@@ -1,6 +1,10 @@
+{ lib, config, ... }:
+let
+ cfg = config.py.gui;
+in
{
- programs.swaylock = {
- enable = true;
+ programs.swaylock = lib.mkIf cfg.enable {
+ enable = lib.mkDefault true;
catppuccin.enable = true;
settings = {
daemonize = true;
diff --git a/modules/home/wayland/waybar-mocha.css b/modules/home/wayland/waybar-mocha.css
new file mode 100644
index 00000000..98e218a1
--- /dev/null
+++ b/modules/home/wayland/waybar-mocha.css
@@ -0,0 +1,37 @@
+/*
+*
+* Catppuccin Mocha palette
+* Maintainer: rubyowo
+*
+*/
+
+@define-color base #1e1e2e;
+@define-color mantle #181825;
+@define-color crust #11111b;
+
+@define-color text #cdd6f4;
+@define-color subtext0 #a6adc8;
+@define-color subtext1 #bac2de;
+
+@define-color surface0 #313244;
+@define-color surface1 #45475a;
+@define-color surface2 #585b70;
+
+@define-color overlay0 #6c7086;
+@define-color overlay1 #7f849c;
+@define-color overlay2 #9399b2;
+
+@define-color blue #89b4fa;
+@define-color lavender #b4befe;
+@define-color sapphire #74c7ec;
+@define-color sky #89dceb;
+@define-color teal #94e2d5;
+@define-color green #a6e3a1;
+@define-color yellow #f9e2af;
+@define-color peach #fab387;
+@define-color maroon #eba0ac;
+@define-color red #f38ba8;
+@define-color mauve #cba6f7;
+@define-color pink #f5c2e7;
+@define-color flamingo #f2cdcd;
+@define-color rosewater #f5e0dc;
diff --git a/modules/home/wayland/waybar-style.css b/modules/home/wayland/waybar-style.css
new file mode 100644
index 00000000..65f6b37b
--- /dev/null
+++ b/modules/home/wayland/waybar-style.css
@@ -0,0 +1,119 @@
+@import "mocha.css";
+#waybar {
+ font-family:
+ BlexMono Nerd Font,
+ sans-serif;
+ font-size: 16px;
+}
+
+#window {
+ padding: 0 10px;
+}
+
+window#waybar {
+ border: none;
+ border-radius: 0;
+ box-shadow: none;
+ text-shadow: none;
+ transition-duration: 0s;
+ color: @text;
+ background: @base;
+}
+
+#workspaces {
+ margin: 0 5px;
+}
+
+#workspaces button {
+ padding: 0 8px;
+ color: @text;
+ border: 2px solid @subtext0;
+ border-radius: 10px;
+ min-width: 25px;
+ margin-right: 8px;
+}
+
+#workspaces button.visible {
+ color: @subtext0;
+}
+
+#workspaces button.focused {
+ border: 3px solid @mauve;
+}
+
+#workspaces button.urgent {
+ background-color: @red;
+}
+
+#workspaces button:hover {
+ box-shadow: inherit;
+ border-color: @blue;
+ color: @blue;
+}
+
+/* Repeat style here to ensure properties are overwritten as there's no !important and button:hover above resets the colour */
+
+#workspaces button.focused {
+ color: @subtext0;
+}
+#workspaces button.focused:hover {
+ color: @text;
+}
+
+#tray,
+#mode,
+#battery,
+#temperature,
+#cpu,
+#memory,
+#network,
+#pulseaudio,
+#clock,
+#idle_inhibitor,
+#sway-language,
+#backlight {
+ padding: 2px 8px;
+ margin: 2px 5px;
+ color: @text;
+}
+
+#tray:hover,
+#mode:hover,
+#battery:hover,
+#temperature:hover,
+#cpu:hover,
+#memory:hover,
+#network:hover,
+#pulseaudio:hover,
+#clock:hover,
+#idle_inhibitor:hover,
+#sway-language:hover,
+#backlight:hover {
+ padding: 2px 8px;
+ margin: 2px 5px;
+ color: @base;
+ background-color: @subtext1;
+}
+
+#clock {
+ font-weight: bold;
+}
+
+#battery.warning {
+ color: @yellow;
+}
+
+#battery.critical {
+ color: @red;
+}
+
+#battery.charging {
+ color: @green;
+}
+
+@keyframes blink {
+ to {
+ background-color: #ffffff;
+ color: black;
+ }
+}
diff --git a/modules/home/wayland/waybar.nix b/modules/home/wayland/waybar.nix
index a96ae11b..cb39d1d5 100644
--- a/modules/home/wayland/waybar.nix
+++ b/modules/home/wayland/waybar.nix
@@ -1,138 +1,152 @@
-{ pkgs, lib, ... }:
{
- programs.waybar = {
- enable = true;
- catppuccin.enable = false;
- systemd.enable = true;
- systemd.target = "sway-session.target";
- # style = "/home/thehedgehog/.config/waybar/style.css"
- settings = {
- mainBar = {
- layer = "top";
- position = "top";
- height = 32;
- modules-left = [
- "sway/workspaces"
- "sway/mode"
- ];
- modules-center = [ "custom/media" ];
- modules-right = [
- "idle_inhibitor"
- "wireplumber"
- "network"
- "temperature"
- "backlight"
- "battery"
- "clock"
- "tray"
- ];
- "sway/workspaces" = {
- disable-scroll = true;
- enable-bar-scroll = false;
- active-only = false;
- all-outputs = false;
- format = "{icon}";
- };
- "idle_inhibitor" = {
- format = "{icon}";
- format-icons = {
- "activated" = "";
- "deactivated" = "";
- };
- };
- "tray" = {
- icon-size = 25;
- spacing = 12;
- };
- "clock" = {
- tooltip-format = "{calendar}";
- format = "{:%H:%M:%S} ";
- format-alt = "{%d %b %Y}";
- interval = 1;
- };
- "cpu" = {
- format = "{usage}% ";
- interval = 5;
- tooltip = false;
- };
- "memory" = {
- format = "{}% ";
- };
- "temperature" = {
- critical-threshold = 80;
- format = "{temperatureC}°C {icon}";
- format-icons = [
- ""
- ""
- ""
- ""
- ""
+ pkgs,
+ lib,
+ config,
+ ...
+}:
+let
+ cfg = config.py.gui;
+in
+{
+ config = {
+ xdg.configFile."waybar/mocha.css" = lib.mkIf cfg.enable {
+ source = ./waybar-mocha.css;
+ recursive = false;
+ };
+ programs.waybar = lib.mkIf cfg.enable {
+ enable = lib.mkDefault true;
+ catppuccin.enable = false;
+ systemd.enable = true;
+ systemd.target = "sway-session.target";
+ style = ./waybar-style.css;
+ settings = {
+ mainBar = {
+ layer = "top";
+ position = "top";
+ height = 32;
+ modules-left = [
+ "sway/workspaces"
+ "sway/mode"
];
- };
- "backlight" = {
- format = "{percent}% {icon}";
- format-icons = [
- ""
- ""
- ""
- ""
- ""
- ""
- ""
+ modules-center = [ "custom/media" ];
+ modules-right = [
+ "idle_inhibitor"
+ "wireplumber"
+ "network"
+ "temperature"
+ "backlight"
+ "battery"
+ "clock"
+ "tray"
];
- };
- "battery" = {
- states = {
- good = 80;
- warning = 30;
- critical = 15;
+ "sway/workspaces" = {
+ disable-scroll = true;
+ enable-bar-scroll = false;
+ active-only = false;
+ all-outputs = false;
+ format = "{icon}";
};
- format = "{capacity}% {icon}";
- format-charging = "{capacity}% ";
- format-plugged = "{capacity}% ";
- format-alt = "{time} {icon}";
- format-icons = [
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ];
- };
- "network" = {
- format-wifi = "{essid} ";
- format-ethernet = "{ifname}: {ipaddr}/{cidr} ";
- format-linked = "{ifname} (No IP) ";
- format-disconnected = "Disconnected! ⚠";
- format-alt = "{ifname}: {ipaddr}/{cidr}";
- on-click = lib.getExe pkgs.networkmanagerapplet;
- };
- "wireplumber" = {
- format = "{volume}% {icon}";
- format-muted = "";
- format-icons = [
- ""
- ""
- ""
- ];
- on-click = lib.getExe pkgs.helvum;
- };
- "custom/media" = {
- format = "{icon}{}";
- return-type = "json";
- format-icons = {
- Paused = " ";
- Playing = " ";
+ "idle_inhibitor" = {
+ format = "{icon}";
+ format-icons = {
+ "activated" = "";
+ "deactivated" = "";
+ };
+ };
+ "tray" = {
+ icon-size = 25;
+ spacing = 12;
+ };
+ "clock" = {
+ tooltip-format = "{calendar}";
+ format = "{:%H:%M:%S} ";
+ format-alt = "{%d %b %Y}";
+ interval = 1;
+ };
+ "cpu" = {
+ format = "{usage}% ";
+ interval = 5;
+ tooltip = false;
+ };
+ "memory" = {
+ format = "{}% ";
+ };
+ "temperature" = {
+ critical-threshold = 80;
+ format = "{temperatureC}°C {icon}";
+ format-icons = [
+ ""
+ ""
+ ""
+ ""
+ ""
+ ];
+ };
+ "backlight" = {
+ format = "{percent}% {icon}";
+ format-icons = [
+ ""
+ ""
+ ""
+ ""
+ ""
+ ""
+ ""
+ ];
+ };
+ "battery" = {
+ states = {
+ good = 80;
+ warning = 30;
+ critical = 15;
+ };
+ format = "{capacity}% {icon}";
+ format-charging = "{capacity}% ";
+ format-plugged = "{capacity}% ";
+ format-alt = "{time} {icon}";
+ format-icons = [
+ ""
+ ""
+ ""
+ ""
+ ""
+ ""
+ ""
+ ""
+ ""
+ ""
+ ""
+ ];
+ };
+ "network" = {
+ format-wifi = "{essid} ";
+ format-ethernet = "{ifname}: {ipaddr}/{cidr} ";
+ format-linked = "{ifname} (No IP) ";
+ format-disconnected = "Disconnected! ⚠";
+ format-alt = "{ifname}: {ipaddr}/{cidr}";
+ on-click = lib.getExe pkgs.networkmanagerapplet;
+ };
+ "wireplumber" = {
+ format = "{volume}% {icon}";
+ format-muted = "";
+ format-icons = [
+ ""
+ ""
+ ""
+ ];
+ on-click = lib.getExe pkgs.helvum;
+ };
+ "custom/media" = {
+ format = "{icon}{}";
+ return-type = "json";
+ format-icons = {
+ Paused = " ";
+ Playing = " ";
+ };
+ max-length = 70;
+ exec = ''${lib.getExe pkgs.playerctl} -a metadata --format '{"text": "{{playerName}}: {{artist}} - {{markup_escape(title)}}", "tooltip": "{{playerName}} : {{markup_escape(title)}}", "alt": "{{status}}", "class": "{{status}}"}' -F'';
+ on-click = "${lib.getExe pkgs.playerctl} play-pause";
};
- max-length = 70;
- exec = ''${lib.getExe pkgs.playerctl} -a metadata --format '{"text": "{{playerName}}: {{artist}} - {{markup_escape(title)}}", "tooltip": "{{playerName}} : {{markup_escape(title)}}", "alt": "{{status}}", "class": "{{status}}"}' -F'';
- on-click = "${lib.getExe pkgs.playerctl} play-pause";
};
};
};
diff --git a/modules/home/xdg/default.nix b/modules/home/xdg/default.nix
index ba8678a7..b94c7802 100644
--- a/modules/home/xdg/default.nix
+++ b/modules/home/xdg/default.nix
@@ -2,20 +2,19 @@
config,
lib,
pkgs,
- osConfig,
...
}:
let
homeDir = config.home.homeDirectory;
- osPro = osConfig.py.profiles;
+ pro = config.py.profiles;
in
{
xdg = {
enable = true;
- mime.enable = lib.mkIf osPro.graphical.enable true;
+ mime.enable = lib.mkIf pro.gui.enable true;
configHome = lib.mkForce "${homeDir}/.config";
dataHome = lib.mkForce "${homeDir}/.local/share";
- portal = lib.mkIf osPro.graphical.enable {
+ portal = lib.mkIf pro.gui.enable {
enable = true;
xdgOpenUsePortal = true;
extraPortals = [
@@ -30,7 +29,7 @@ in
};
};
};
- mimeApps = lib.mkIf osPro.graphical.enable {
+ mimeApps = lib.mkIf pro.gui.enable {
enable = true;
associations.added = {
"application/pdf" = [ "firefox.desktop" ];
--
2.51.2
From 6a7ab018b42f977e648f595cbb7ef13c17729b16 Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Fri, 7 Jun 2024 22:56:17 -0400
Subject: [PATCH 069/105] [homes.pyrox] Enable desktop profile
---
homes/x86_64-linux/pyrox/default.nix | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/homes/x86_64-linux/pyrox/default.nix b/homes/x86_64-linux/pyrox/default.nix
index 92a2f5dd..e3c7a553 100644
--- a/homes/x86_64-linux/pyrox/default.nix
+++ b/homes/x86_64-linux/pyrox/default.nix
@@ -1,7 +1,15 @@
{
+ imports = [
+ ./services/kanshi.nix
+ ./files/pamKeys.nix
+ ./files/distrobox-config.nix
+ ];
snowfallorg.user = {
enable = true;
name = "pyrox";
home = "/home/pyrox";
};
+ py = {
+ profiles.desktop.enable = true;
+ };
}
--
2.51.2
From 8056db86715111f4634d9e7ad1df3fde4913afcf Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Fri, 7 Jun 2024 23:24:45 -0400
Subject: [PATCH 070/105] [packages] git-credential-rbw: Remove check phase
---
packages/git-credential-rbw/default.nix | 1 +
1 file changed, 1 insertion(+)
diff --git a/packages/git-credential-rbw/default.nix b/packages/git-credential-rbw/default.nix
index b67d6ccc..e94e46e3 100644
--- a/packages/git-credential-rbw/default.nix
+++ b/packages/git-credential-rbw/default.nix
@@ -2,6 +2,7 @@
pkgs.writeShellApplication {
name = "git-credential-rbw";
runtimeInputs = [ pkgs.rbw ];
+ checkPhase = "true";
text = ''
#${pkgs.bash}/bin/bash
--
2.51.2
From 9fa28e02fefb1729103c0bbe4c4f6f9fc11f1045 Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Fri, 7 Jun 2024 23:43:14 -0400
Subject: [PATCH 071/105] [homes] Remove name and home declarations
---
homes/x86_64-linux/pyrox/default.nix | 2 --
homes/x86_64-linux/thehedgehog/default.nix | 5 +++--
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/homes/x86_64-linux/pyrox/default.nix b/homes/x86_64-linux/pyrox/default.nix
index e3c7a553..67d897c7 100644
--- a/homes/x86_64-linux/pyrox/default.nix
+++ b/homes/x86_64-linux/pyrox/default.nix
@@ -6,8 +6,6 @@
];
snowfallorg.user = {
enable = true;
- name = "pyrox";
- home = "/home/pyrox";
};
py = {
profiles.desktop.enable = true;
diff --git a/homes/x86_64-linux/thehedgehog/default.nix b/homes/x86_64-linux/thehedgehog/default.nix
index f581edcb..3fbb0f5a 100644
--- a/homes/x86_64-linux/thehedgehog/default.nix
+++ b/homes/x86_64-linux/thehedgehog/default.nix
@@ -1,7 +1,8 @@
+{ osConfig, ... }:
{
snowfallorg.user = {
enable = true;
- name = "thehedgehog";
- home = "/home/thehedgehog";
};
+ home.stateVersion = osConfig.system.stateVersion;
+ py.profiles.gui.enable = true;
}
--
2.51.2
From 13c7e8e5e6f279fcd95d9163c612daba988a2f6b Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Fri, 7 Jun 2024 23:43:27 -0400
Subject: [PATCH 072/105] [modules.home] Profiles: Actually enable stuff
---
modules/home/profiles/cli/default.nix | 25 +++++++++++++++----
modules/home/profiles/development/default.nix | 11 +++++---
modules/home/profiles/gui/default.nix | 6 +----
3 files changed, 28 insertions(+), 14 deletions(-)
diff --git a/modules/home/profiles/cli/default.nix b/modules/home/profiles/cli/default.nix
index f68f42f2..298f0859 100644
--- a/modules/home/profiles/cli/default.nix
+++ b/modules/home/profiles/cli/default.nix
@@ -6,14 +6,29 @@
}:
let
cfg = config.py.profiles.cli;
+ inherit (lib) mkEnableOption mkDefault mkIf;
in
{
- options.py.profiles.cli.enable = lib.mkEnableOption "CLI Profile";
- config = lib.mkIf cfg.enable {
+ options.py.profiles.cli.enable = mkEnableOption "CLI Profile";
+ config = mkIf cfg.enable {
py.programs = {
- git.enable = true;
- gh.enable = true;
- lazygit.enable = true;
+ bat.enable = mkDefault true;
+ direnv.enable = mkDefault true;
+ fish.enable = mkDefault true;
+ fzf.enable = mkDefault true;
+ git = {
+ enable = mkDefault true;
+ gh.enable = mkDefault true;
+ lazygit.enable = mkDefault true;
+ };
+ gpg.enable = mkDefault true;
+ helix.enable = mkDefault true;
+ nix-index = mkDefault true;
+ nushell.enable = mkDefault true;
+ pandoc.enable = mkDefault true;
+ ssh.enable = mkDefault true;
+ starship.enable = mkDefault true;
+ zoxide.enable = mkDefault true;
};
programs = {
eza = {
diff --git a/modules/home/profiles/development/default.nix b/modules/home/profiles/development/default.nix
index 6965463a..20720c74 100644
--- a/modules/home/profiles/development/default.nix
+++ b/modules/home/profiles/development/default.nix
@@ -6,13 +6,15 @@
}:
let
customPython = pkgs.python312.withPackages (ps: [ ps.pip ]);
- cfg = config.py.profiles.dev;
+ cfg = config.py.profiles.development;
in
{
options.py.profiles.development.enable = lib.mkEnableOption "Development Profile";
- config.home.packages =
- with pkgs;
- lib.mkIf cfg.enable [
+ config = lib.mkIf cfg.enable {
+ py.programs = {
+ neovim.enable = true;
+ };
+ home.packages = with pkgs; [
alejandra
any-nix-shell
cargo
@@ -22,4 +24,5 @@ in
nil
nixd
];
+ };
}
diff --git a/modules/home/profiles/gui/default.nix b/modules/home/profiles/gui/default.nix
index 36fb65bf..36499267 100644
--- a/modules/home/profiles/gui/default.nix
+++ b/modules/home/profiles/gui/default.nix
@@ -18,11 +18,7 @@ in
gui.enable = true;
programs = {
chromium.enable = mkDefault true;
- firefox = {
- enable = mkDefault true;
- prefs.enable = mkDefault true;
- policies.enable = mkDefault true;
- };
+ firefox.enable = mkDefault true;
kitty.enable = mkDefault true;
obs.enable = mkDefault true;
vscodium.enable = mkDefault true;
--
2.51.2
From 73f93fd0ab0f0178a58118ea41da486ad37c5e7f Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Fri, 7 Jun 2024 23:43:50 -0400
Subject: [PATCH 073/105] [modules.home] fix eval errors
---
modules/home/profiles/cli/default.nix | 2 +-
modules/home/profiles/gui/default.nix | 2 +
.../home/programs/misc-programs/default.nix | 2 +-
modules/home/programs/neovim/default.nix | 8 ++-
modules/home/programs/ssh/default.nix | 2 +-
modules/home/programs/wlogout/default.nix | 4 +-
modules/home/programs/wlogout/style.nix | 2 +-
modules/home/scripts/default.nix | 2 +-
modules/home/wayland/keybindings.nix | 64 ++++++++++---------
9 files changed, 47 insertions(+), 41 deletions(-)
diff --git a/modules/home/profiles/cli/default.nix b/modules/home/profiles/cli/default.nix
index 298f0859..fe3646d8 100644
--- a/modules/home/profiles/cli/default.nix
+++ b/modules/home/profiles/cli/default.nix
@@ -23,7 +23,7 @@ in
};
gpg.enable = mkDefault true;
helix.enable = mkDefault true;
- nix-index = mkDefault true;
+ nix-index.enable = mkDefault true;
nushell.enable = mkDefault true;
pandoc.enable = mkDefault true;
ssh.enable = mkDefault true;
diff --git a/modules/home/profiles/gui/default.nix b/modules/home/profiles/gui/default.nix
index 36499267..b8dc1041 100644
--- a/modules/home/profiles/gui/default.nix
+++ b/modules/home/profiles/gui/default.nix
@@ -26,7 +26,9 @@ in
};
services = {
gpg-agent.enable = mkDefault true;
+ kdeconnect.enable = mkDefault true;
mako.enable = mkDefault true;
+ swayidle.enable = mkDefault true;
syncthing.enable = mkDefault true;
};
};
diff --git a/modules/home/programs/misc-programs/default.nix b/modules/home/programs/misc-programs/default.nix
index 89690bc0..acc5233f 100644
--- a/modules/home/programs/misc-programs/default.nix
+++ b/modules/home/programs/misc-programs/default.nix
@@ -44,7 +44,7 @@ in
enableFishIntegration = true;
enableZshIntegration = true;
};
- obs = mkIf cfg.obs.enable {
+ obs-studio = mkIf cfg.obs.enable {
enable = true;
plugins = with pkgs.obs-studio-plugins; [
obs-ndi
diff --git a/modules/home/programs/neovim/default.nix b/modules/home/programs/neovim/default.nix
index 93028e29..525331a1 100644
--- a/modules/home/programs/neovim/default.nix
+++ b/modules/home/programs/neovim/default.nix
@@ -1,6 +1,5 @@
{
pkgs,
- osConfig,
config,
lib,
...
@@ -13,10 +12,13 @@ in
config.programs.neovim = lib.mkIf cfg.enable {
enable = true;
- package = osConfig.programs.neovim.finalPackage;
+ package = pkgs.py.nvim;
viAlias = true;
vimAlias = true;
vimdiffAlias = true;
+ withRuby = false;
+ withNodeJs = false;
+ withPython3 = false;
extraPackages =
[
pkgs.bottom
@@ -26,7 +28,7 @@ in
pkgs.nodejs
]
++ (
- if config.py.profiles.graphical.enable then
+ if config.py.profiles.gui.enable then
[
pkgs.ffmpegthumbnailer
pkgs.fontpreview
diff --git a/modules/home/programs/ssh/default.nix b/modules/home/programs/ssh/default.nix
index bbe15784..54123f5d 100644
--- a/modules/home/programs/ssh/default.nix
+++ b/modules/home/programs/ssh/default.nix
@@ -4,7 +4,7 @@ let
in
{
options.py.programs.ssh.enable = lib.mkEnableOption "ssh";
- config = lib.mkEnableOption cfg.enable {
+ config = lib.mkIf cfg.enable {
programs.ssh = {
enable = true;
compression = true;
diff --git a/modules/home/programs/wlogout/default.nix b/modules/home/programs/wlogout/default.nix
index f8b6acfb..a45649cc 100644
--- a/modules/home/programs/wlogout/default.nix
+++ b/modules/home/programs/wlogout/default.nix
@@ -5,14 +5,14 @@
...
}:
let
- cfg = config.programs.py.wlogout;
+ cfg = config.py.programs.wlogout;
pkg = config.programs.wlogout.package;
in
{
options.py.programs.wlogout.enable = lib.mkEnableOption "wlogout";
config.programs.wlogout = lib.mkIf cfg.enable {
enable = true;
- style = import ./style.nix pkg;
+ style = import ./style.nix { inherit pkg; };
layout = [
{
label = "hibernate";
diff --git a/modules/home/programs/wlogout/style.nix b/modules/home/programs/wlogout/style.nix
index a945044d..3a594558 100644
--- a/modules/home/programs/wlogout/style.nix
+++ b/modules/home/programs/wlogout/style.nix
@@ -1,4 +1,4 @@
-{ pkg }:
+{ pkg, ... }:
let
icon-path = "${pkg}/share/wlogout/icons";
in
diff --git a/modules/home/scripts/default.nix b/modules/home/scripts/default.nix
index a7da7f94..81164ccc 100644
--- a/modules/home/scripts/default.nix
+++ b/modules/home/scripts/default.nix
@@ -1,7 +1,7 @@
{ lib, config, ... }:
{
home.activation = {
- removeLocalFonts = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
+ removeLocalFonts = config.lib.dag.entryAfter [ "writeBoundary" ] ''
unlink ${config.home.homeDirectory}/.local/share/fonts
'';
};
diff --git a/modules/home/wayland/keybindings.nix b/modules/home/wayland/keybindings.nix
index 4da6733d..64035184 100644
--- a/modules/home/wayland/keybindings.nix
+++ b/modules/home/wayland/keybindings.nix
@@ -10,35 +10,37 @@ let
cfg = config.py.gui;
in
{
- config.wayland.windowManager.sway.config.keybindings = lib.mkOptionDefault lib.mkIf cfg.enable {
- "${mod}+d" = "${menu}";
- "${mod}+Shift+F" = "exec MOZ_DISABLE_RDD_SANDBOX=1 firefox";
- "${mod}+Return" = "exec ${term}";
- # "${mod}+Shift+Return" = "exec ${pkgs.wezterm}/bin/wezterm";
- "${mod}+x" = "exec wlogout";
- "${mod}+s" = null;
- "${mod}+w" = null;
- "XF86MonBrightnessDown" = "exec brightnessctl set 5%-";
- "XF86MonBrightnessUp" = "exec brightnessctl set +5%";
- "XF86AudioRaiseVolume" = "exec pactl set-sink-volume @DEFAULT_SINK@ +5%";
- "XF86AudioLowerVolume" = "exec pactl set-sink-volume @DEFAULT_SINK@ -5%";
- "XF86AudioMute" = "exec pactl set-sink-mute @DEFAULT_SINK@ toggle";
- "XF86AudioMicMute" = "exec pactl set-source-mute @DEFAULT_SOURCE@ toggle";
- "XF86AudioPlay" = "exec playerctl play-pause";
- "XF86AudioNext" = "exec playerctl next";
- "XF86AudioPrev" = "exec playerctl previous";
- "Shift+F3" = "exec ${grim} ${slurp-screen} | ${satty}";
- "Shift+F4" = "exec ${grim} ${slurp-box} | ${satty}";
- "${mod}+Shift+1" = "move container to workspace number 1";
- "${mod}+Shift+2" = "move container to workspace number 2";
- "${mod}+Shift+3" = "move container to workspace number 3";
- "${mod}+Shift+4" = "move container to workspace number 4";
- "${mod}+Shift+5" = "move container to workspace number 5";
- "${mod}+Shift+6" = "move container to workspace number 6";
- "${mod}+Shift+7" = "move container to workspace number 7";
- "${mod}+Shift+8" = "move container to workspace number 8";
- "${mod}+Shift+9" = "move container to workspace number 9";
- "${mod}+Shift+0" = "move container to workspace number 10";
- "${mod}+0" = "workspace number 10";
- };
+ config.wayland.windowManager.sway.config.keybindings = lib.mkIf cfg.enable (
+ lib.mkOptionDefault {
+ "${mod}+d" = "${menu}";
+ "${mod}+Shift+F" = "exec MOZ_DISABLE_RDD_SANDBOX=1 firefox";
+ "${mod}+Return" = "exec ${term}";
+ # "${mod}+Shift+Return" = "exec ${pkgs.wezterm}/bin/wezterm";
+ "${mod}+x" = "exec wlogout";
+ "${mod}+s" = null;
+ "${mod}+w" = null;
+ "XF86MonBrightnessDown" = "exec brightnessctl set 5%-";
+ "XF86MonBrightnessUp" = "exec brightnessctl set +5%";
+ "XF86AudioRaiseVolume" = "exec pactl set-sink-volume @DEFAULT_SINK@ +5%";
+ "XF86AudioLowerVolume" = "exec pactl set-sink-volume @DEFAULT_SINK@ -5%";
+ "XF86AudioMute" = "exec pactl set-sink-mute @DEFAULT_SINK@ toggle";
+ "XF86AudioMicMute" = "exec pactl set-source-mute @DEFAULT_SOURCE@ toggle";
+ "XF86AudioPlay" = "exec playerctl play-pause";
+ "XF86AudioNext" = "exec playerctl next";
+ "XF86AudioPrev" = "exec playerctl previous";
+ "Shift+F3" = "exec ${grim} ${slurp-screen} | ${satty}";
+ "Shift+F4" = "exec ${grim} ${slurp-box} | ${satty}";
+ "${mod}+Shift+1" = "move container to workspace number 1";
+ "${mod}+Shift+2" = "move container to workspace number 2";
+ "${mod}+Shift+3" = "move container to workspace number 3";
+ "${mod}+Shift+4" = "move container to workspace number 4";
+ "${mod}+Shift+5" = "move container to workspace number 5";
+ "${mod}+Shift+6" = "move container to workspace number 6";
+ "${mod}+Shift+7" = "move container to workspace number 7";
+ "${mod}+Shift+8" = "move container to workspace number 8";
+ "${mod}+Shift+9" = "move container to workspace number 9";
+ "${mod}+Shift+0" = "move container to workspace number 10";
+ "${mod}+0" = "workspace number 10";
+ }
+ );
}
--
2.51.2
From c6dae1f745f9b02f65e7ccda0b9341695e649ac8 Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Fri, 7 Jun 2024 23:44:23 -0400
Subject: [PATCH 074/105] [modules.nixos] Fix eval errors
---
modules/nixos/default-config/users.nix | 15 ++----------
modules/nixos/default-users/default.nix | 26 +++++++++++++++++++++
modules/nixos/programs/neovim/default.nix | 2 +-
modules/nixos/services/buildbot/default.nix | 7 +++++-
4 files changed, 35 insertions(+), 15 deletions(-)
diff --git a/modules/nixos/default-config/users.nix b/modules/nixos/default-config/users.nix
index 9925e136..60498695 100644
--- a/modules/nixos/default-config/users.nix
+++ b/modules/nixos/default-config/users.nix
@@ -1,7 +1,7 @@
-{ lib, pkgs, ... }:
+{ lib, ... }:
{
users.users = {
- pyrox = {
+ pyrox = lib.mkDefault {
isNormalUser = true;
description = lib.mkDefault "Pyrox";
extraGroups = [
@@ -12,15 +12,4 @@
];
};
};
- # Set default editor
- programs.neovim = {
- enable = true;
- defaultEditor = true;
- viAlias = true;
- vimAlias = true;
- withNodeJs = true;
- withPython3 = true;
- withRuby = false;
- package = pkgs.py.nvim;
- };
}
diff --git a/modules/nixos/default-users/default.nix b/modules/nixos/default-users/default.nix
index d1f6d04d..ef298abc 100644
--- a/modules/nixos/default-users/default.nix
+++ b/modules/nixos/default-users/default.nix
@@ -11,6 +11,32 @@ in
options.py.users.default.enable = lib.mkEnableOption "Default PyroNet Users";
config = lib.mkIf cfg.enable {
+ users.users.pyrox = {
+ description = "Pyrox";
+ isNormalUser = true;
+ extraGroups = [
+ "adbusers"
+ "wheel"
+ "networkmanager"
+ "video"
+ "docker"
+ "wireshark"
+ "input"
+ ];
+ hashedPassword = "$6$6EtuZhVOJdfI9DYP$1Qnd7R8qdN.E5yE2kDQCNg2zgJ5cIjNBKsIW/qJgb8wcKlUpIoVg/fEKvBkAgCiLyojVG2kzfu4J9LR8rA8a2/";
+ shell = pkgs.fish;
+ openssh = {
+ authorizedKeys = {
+ keyFiles = [
+ ./yubikey-new.pub
+ ./yubikey-main.pub
+ ./yubikey-back.pub
+ ./backup.pub
+ ];
+ keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIP532AB5mkNvE29MkDDY8HEf8ZdktGWiI0PzLrvbmLQe" ];
+ };
+ };
+ };
users.users.thehedgehog = {
description = "The Hedgehog";
isNormalUser = true;
diff --git a/modules/nixos/programs/neovim/default.nix b/modules/nixos/programs/neovim/default.nix
index 264141c9..8c2980a5 100644
--- a/modules/nixos/programs/neovim/default.nix
+++ b/modules/nixos/programs/neovim/default.nix
@@ -8,7 +8,7 @@ let
cfg = config.py.programs.neovim;
in
{
- options.py.programs.neovim = lib.mkEnableOption "Neovim configuration";
+ options.py.programs.neovim.enable = lib.mkEnableOption "Neovim configuration";
config.programs.neovim = lib.mkIf cfg.enable {
enable = true;
diff --git a/modules/nixos/services/buildbot/default.nix b/modules/nixos/services/buildbot/default.nix
index 5f32689f..916aab4d 100644
--- a/modules/nixos/services/buildbot/default.nix
+++ b/modules/nixos/services/buildbot/default.nix
@@ -5,11 +5,16 @@ in
{
options.py.services.buildbot.worker = {
enable = lib.mkEnableOption "buildbot worker";
+ passwordFile = lib.mkOption {
+ type = lib.types.path;
+ description = "Password file for the worker";
+ default = null;
+ };
};
config.services.buildbot-nix.worker = lib.mkIf cfg.enable {
enable = true;
name = config.networking.hostName;
masterUrl = "tcp:host=marvin:port=6915";
- workerPasswordFile = config.age.secrets.buildbot-worker-password.path;
+ workerPasswordFile = cfg.passwordFile;
};
}
--
2.51.2
From 048b8e4c1e3baf35dce1534eca71efd54a64507a Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Fri, 7 Jun 2024 23:57:45 -0400
Subject: [PATCH 075/105] [homes] Update profiles and state versions
---
homes/x86_64-linux/pyrox/default.nix | 2 ++
homes/x86_64-linux/thehedgehog/default.nix | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/homes/x86_64-linux/pyrox/default.nix b/homes/x86_64-linux/pyrox/default.nix
index 67d897c7..03beeace 100644
--- a/homes/x86_64-linux/pyrox/default.nix
+++ b/homes/x86_64-linux/pyrox/default.nix
@@ -1,3 +1,4 @@
+{ osConfig, ... }:
{
imports = [
./services/kanshi.nix
@@ -7,6 +8,7 @@
snowfallorg.user = {
enable = true;
};
+ home.stateVersion = osConfig.system.stateVersion;
py = {
profiles.desktop.enable = true;
};
diff --git a/homes/x86_64-linux/thehedgehog/default.nix b/homes/x86_64-linux/thehedgehog/default.nix
index 3fbb0f5a..2f5c3f70 100644
--- a/homes/x86_64-linux/thehedgehog/default.nix
+++ b/homes/x86_64-linux/thehedgehog/default.nix
@@ -4,5 +4,5 @@
enable = true;
};
home.stateVersion = osConfig.system.stateVersion;
- py.profiles.gui.enable = true;
+ py.profiles.desktop.enable = true;
}
--
2.51.2
From 8d927e206a03d2b67bf4239b456da134a8c21b3c Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Fri, 7 Jun 2024 23:58:00 -0400
Subject: [PATCH 076/105] [systems.zaphod] Update program sorting
---
systems/x86_64-linux/zaphod/default.nix | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/systems/x86_64-linux/zaphod/default.nix b/systems/x86_64-linux/zaphod/default.nix
index b4c6cd07..5b30d262 100644
--- a/systems/x86_64-linux/zaphod/default.nix
+++ b/systems/x86_64-linux/zaphod/default.nix
@@ -29,11 +29,11 @@
users.default.enable = true;
programs = {
chromium.enable = true;
- firefox.enable = true;
- neovim.enable = true;
dconf.enable = true;
+ firefox.enable = true;
fish.enable = true;
less.enable = true;
+ neovim.enable = true;
noisetorch.enable = true;
steam.enable = true;
wireshark.enable = true;
--
2.51.2
From 0d5e3ba29020231e6a9568e46b0015afe5e6e6f2 Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Sat, 8 Jun 2024 00:01:13 -0400
Subject: [PATCH 077/105] [modules.home] add cli profile
---
modules/home/profiles/desktop/default.nix | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/home/profiles/desktop/default.nix b/modules/home/profiles/desktop/default.nix
index 65c91136..e35bbd67 100644
--- a/modules/home/profiles/desktop/default.nix
+++ b/modules/home/profiles/desktop/default.nix
@@ -13,6 +13,7 @@ in
config = mkIf cfg.enable {
py.profiles = {
base.enable = mkDefault true;
+ cli.enable = mkDefault true;
gui.enable = mkDefault true;
development.enable = mkDefault true;
};
--
2.51.2
From bd98ce64c86db047d71623e191d9dfb8a0aa8080 Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Sat, 8 Jun 2024 00:12:41 -0400
Subject: [PATCH 078/105] [flake] Final updates
---
modules/home/profiles/gui/default.nix | 1 -
modules/home/programs/git/default.nix | 2 +-
modules/home/programs/ssh/default.nix | 2 +-
modules/home/programs/starship/default.nix | 2 +-
packages/git-credential-rbw/default.nix | 46 ----------------------
5 files changed, 3 insertions(+), 50 deletions(-)
delete mode 100644 packages/git-credential-rbw/default.nix
diff --git a/modules/home/profiles/gui/default.nix b/modules/home/profiles/gui/default.nix
index b8dc1041..7130c7d5 100644
--- a/modules/home/profiles/gui/default.nix
+++ b/modules/home/profiles/gui/default.nix
@@ -44,7 +44,6 @@ in
ueberzug
lutris
py.olympus
- py.git-credential-rbw
prismlauncher
protontricks
proton-caller
diff --git a/modules/home/programs/git/default.nix b/modules/home/programs/git/default.nix
index 269de875..61b72cb5 100644
--- a/modules/home/programs/git/default.nix
+++ b/modules/home/programs/git/default.nix
@@ -93,7 +93,7 @@ in
settings = {
editor = lib.getExe pkgs.py.nvim;
git_protocol = "https";
- browser = lib.mkIf config.py.sway.enable pkgs.firefox-wayland;
+ browser = lib.mkIf config.py.gui.enable pkgs.firefox;
prompt = "enabled";
};
};
diff --git a/modules/home/programs/ssh/default.nix b/modules/home/programs/ssh/default.nix
index 54123f5d..f0c7132b 100644
--- a/modules/home/programs/ssh/default.nix
+++ b/modules/home/programs/ssh/default.nix
@@ -40,6 +40,6 @@ in
"Match" = ''host * exec "gpg-connect-agent UPDATESTARTUPTTY /bye"'';
};
};
- home.file.".ssh/authorized_signatures".text = lib.mkIf cfg.enable import ./ssh-auth-signers.nix;
+ home.file.".ssh/authorized_signatures".text = import ./ssh-auth-signers.nix;
};
}
diff --git a/modules/home/programs/starship/default.nix b/modules/home/programs/starship/default.nix
index a939943b..6714d867 100644
--- a/modules/home/programs/starship/default.nix
+++ b/modules/home/programs/starship/default.nix
@@ -10,6 +10,6 @@ in
enableFishIntegration = true;
enableBashIntegration = true;
enableZshIntegration = true;
- settings = import ./settings.nix lib;
+ settings = import ./settings.nix { inherit lib; };
};
}
diff --git a/packages/git-credential-rbw/default.nix b/packages/git-credential-rbw/default.nix
deleted file mode 100644
index e94e46e3..00000000
--- a/packages/git-credential-rbw/default.nix
+++ /dev/null
@@ -1,46 +0,0 @@
-{ pkgs, ... }:
-pkgs.writeShellApplication {
- name = "git-credential-rbw";
- runtimeInputs = [ pkgs.rbw ];
- checkPhase = "true";
- text = ''
- #${pkgs.bash}/bin/bash
-
- declare -A params
-
- if [ "x$1" == "xget" ]; then
- read line
- while [ -n "$line" ]; do
- key=''${line%%=*}
- value=''${line#*=}
- params[$key]=$value
- read line
- done
-
- if [ "''${params['protocol']}" != "xhttps" ]; then
- exit
- fi
-
- if [ -z "''${params["host"]}" ]; then
- exit
- fi
-
- rbw ls > /dev/null 2>&1
- if [ $? -ne 0 ]; then
- echo "Please login to rbw to use git credential helper" > /dev/stderr
- exit
- fi
-
- user=`rbw get --full ''${params["host"]} | grep "Username:" | cut -d' ' -f2-`
- pass=`rbw get ''${params["host"]}`
-
- if [ "x$user" == "x" ] || [ "x$pass" == "x" ]; then
- echo "Couldn't find host in rbw DB." > /dev/stderr
- exit
- fi
-
- echo username=$user
- echo password=$pass
- fi
- '';
-}
--
2.51.2
From 63f21108d0d62fab46108c2aef539d77c714752d Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Sat, 8 Jun 2024 00:13:21 -0400
Subject: [PATCH 079/105] [flake] Update system modules
---
flake.nix | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/flake.nix b/flake.nix
index ff6cf47f..c665699c 100644
--- a/flake.nix
+++ b/flake.nix
@@ -246,9 +246,10 @@
systems = {
# Modules for all systems
modules.nixos = with inputs; [
+ agenix.nixosModules.default
+ buildbot-nix.nixosModules.buildbot-worker
ctp.nixosModules.catppuccin
lix-module.nixosModules.default
- agenix.nixosModules.default
];
hosts = {
# Zaphod, my personal Framework 16 laptop
@@ -265,10 +266,9 @@
# Marvin, my main homelab machine
marvin.modules = with inputs; [
- iceshrimp.nixosModules.default
- golink.nixosModules.default
buildbot-nix.nixosModules.buildbot-master
- buildbot-nix.nixosModules.buildbot-worker
+ golink.nixosModules.default
+ iceshrimp.nixosModules.default
];
};
};
--
2.51.2
From 689bb8ca6dc92d8f2f95d05bd11f4bf02cc8fd5f Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Sat, 8 Jun 2024 00:51:31 -0400
Subject: [PATCH 080/105] [modules.home] Remove unused script
---
modules/home/scripts/default.nix | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/modules/home/scripts/default.nix b/modules/home/scripts/default.nix
index 81164ccc..958608a5 100644
--- a/modules/home/scripts/default.nix
+++ b/modules/home/scripts/default.nix
@@ -1,8 +1 @@
-{ lib, config, ... }:
-{
- home.activation = {
- removeLocalFonts = config.lib.dag.entryAfter [ "writeBoundary" ] ''
- unlink ${config.home.homeDirectory}/.local/share/fonts
- '';
- };
-}
+_: { }
--
2.51.2
From 4d76d61854b04258bea742926f15f133b8381212 Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Sat, 8 Jun 2024 00:51:56 -0400
Subject: [PATCH 081/105] [flake] Remove unnecessarily locked inputs
---
flake.lock | 16 ++++++++--------
flake.nix | 24 +++---------------------
2 files changed, 11 insertions(+), 29 deletions(-)
diff --git a/flake.lock b/flake.lock
index e8c94ee0..9a69b3bb 100644
--- a/flake.lock
+++ b/flake.lock
@@ -688,11 +688,11 @@
"lix": {
"flake": false,
"locked": {
- "lastModified": 1717173858,
- "narHash": "sha256-J51iC/XwFTJ6se9eRnrnjfXhHmRxgFZuvZJ+768VvO4=",
+ "lastModified": 1717732411,
+ "narHash": "sha256-cxK0tBbUxXtIYKLbjHpH+swiIzEoj61c82I/pN/yBoE=",
"ref": "refs/heads/main",
- "rev": "ff08d954206a557ec7afe7301cdb4bb72114875f",
- "revCount": 15707,
+ "rev": "4f94531209510c7d580e525a017ea01f18894ded",
+ "revCount": 15739,
"type": "git",
"url": "https://git.lix.systems/lix-project/lix"
},
@@ -715,11 +715,11 @@
]
},
"locked": {
- "lastModified": 1717036776,
- "narHash": "sha256-joKTxvywYlKspGGKOIXho6oRbggOPyayEqAyuZCavO0=",
+ "lastModified": 1717647344,
+ "narHash": "sha256-m8XYt8NU2T4gvkien7H7LFGXHhSA5z4tHOeuXQ3DJi4=",
"ref": "refs/heads/main",
- "rev": "b4b38e6b5fe18da9464f291ae5fbf2ea9acb9ccb",
- "revCount": 86,
+ "rev": "4e25f1ab68f2270f9cff59216056c21073db0164",
+ "revCount": 87,
"type": "git",
"url": "https://git.lix.systems/lix-project/nixos-module"
},
diff --git a/flake.nix b/flake.nix
index c665699c..cd8e4440 100644
--- a/flake.nix
+++ b/flake.nix
@@ -74,12 +74,6 @@
flake-utils.follows = "flake-utils";
nixpkgs.follows = "nixpkgs";
flake-compat.follows = "flake-compat";
- attic.inputs = {
- flake-utils.follows = "flake-utils";
- flake-compat.follows = "flake-compat";
- nixpkgs.follows = "nixpkgs";
- nixpkgs-stable.follows = "nixpkgs";
- };
};
};
ctp = {
@@ -172,11 +166,6 @@
flake-compat.follows = "flake-compat";
flake-parts.follows = "flake-parts";
nixpkgs.follows = "nixpkgs";
- pre-commit-hooks.inputs = {
- flake-compat.follows = "flake-compat";
- nixpkgs.follows = "nixpkgs";
- nixpkgs-stable.follows = "nixpkgs";
- };
};
};
my-pkgs = {
@@ -188,10 +177,6 @@
inputs = {
flake-compat.follows = "flake-compat";
nixpkgs.follows = "nixpkgs";
- nix-eval-jobs.inputs.flake-parts.follows = "flake-parts";
- nix-eval-jobs.inputs.nixpkgs.follows = "nixpkgs";
- lib-aggregate.inputs.flake-utils.follows = "flake-utils";
- lib-aggregate.inputs.nixpkgs-lib.follows = "nixpkgs-lib";
};
};
};
@@ -222,10 +207,10 @@
self.overlays.pyronet-packages
self.overlays.alejandra
self.overlays.nix-index
- self.overlays.nixos-option
+ # self.overlays.nixos-option
inputs.my-pkgs.overlays.cinny
inputs.golink.overlay
- # inputs.lix-module.overlays.default
+ inputs.lix-module.overlays.default
inputs.neovim.overlay
inputs.nixd.overlays.default
inputs.nur.overlay
@@ -253,10 +238,7 @@
];
hosts = {
# Zaphod, my personal Framework 16 laptop
- zaphod.modules = with inputs; [
- hardware.nixosModules.framework-16-7040-amd
- lix-module.nixosModules.default
- ];
+ zaphod.modules = with inputs; [ hardware.nixosModules.framework-16-7040-amd ];
# Prefect, my main VPS
prefect.modules = with inputs; [ mailserver.nixosModule ];
--
2.51.2
From 06a1e8d9d16bce9d2466df2de67b531047ba0b8e Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Sat, 8 Jun 2024 00:52:08 -0400
Subject: [PATCH 082/105] [modules.nixos] Update default stateversion
---
modules/nixos/default-config/default.nix | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/modules/nixos/default-config/default.nix b/modules/nixos/default-config/default.nix
index 81398bc5..20883acc 100644
--- a/modules/nixos/default-config/default.nix
+++ b/modules/nixos/default-config/default.nix
@@ -1,3 +1,4 @@
+{ inputs, system, ... }:
{
imports = [
./bootloader.nix
@@ -12,7 +13,8 @@
./ssh.nix
./users.nix
];
- system.stateVersion = "24.05";
+ system.stateVersion = "24.11";
+ nix.package = inputs.lix.packages.${system}.default;
catppuccin.flavor = "mocha";
console.catppuccin.enable = true;
}
--
2.51.2
From 0a2afa9c70628105240fe8b546b2340af9152e14 Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Sat, 8 Jun 2024 01:58:17 -0400
Subject: [PATCH 083/105] [modules.home] Unpin chromium from stable
---
modules/home/programs/chromium/default.nix | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/modules/home/programs/chromium/default.nix b/modules/home/programs/chromium/default.nix
index f845cab4..7e14ebea 100644
--- a/modules/home/programs/chromium/default.nix
+++ b/modules/home/programs/chromium/default.nix
@@ -1,9 +1,7 @@
{
pkgs,
- inputs,
config,
lib,
- system,
...
}:
let
@@ -14,7 +12,7 @@ in
config.programs.chromium = lib.mkIf cfg.enable {
enable = true;
- package = inputs.stable.legacyPackages.${system}.ungoogled-chromium;
+ package = pkgs.ungoogled-chromium;
dictionaries = [ pkgs.hunspellDictsChromium.en_US ];
};
}
--
2.51.2
From c1eda62b692cb597acca1d6b319ab9b7cee6f5e3 Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Sat, 8 Jun 2024 01:58:32 -0400
Subject: [PATCH 084/105] [modules.nixos] Unpin firefox
---
modules/nixos/programs/firefox/default.nix | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/modules/nixos/programs/firefox/default.nix b/modules/nixos/programs/firefox/default.nix
index 5d03dd7d..8235cdd0 100644
--- a/modules/nixos/programs/firefox/default.nix
+++ b/modules/nixos/programs/firefox/default.nix
@@ -1,13 +1,11 @@
{
- inputs,
config,
lib,
- system,
+ pkgs,
...
}:
let
cfg = config.py.programs.firefox;
- spkgs = inputs.stable.legacyPackages.${system};
in
{
options.py.programs.firefox = {
@@ -17,7 +15,7 @@ in
config = lib.mkIf cfg.enable {
programs.firefox = {
enable = true;
- package = spkgs.firefox;
+ package = pkgs.firefox;
wrapperConfig.cfg = {
smartcardSupport = true;
pipewireSupport = true;
--
2.51.2
From c6484062b9437a9097fbc32ed4a0cf85b79ea173 Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Sat, 8 Jun 2024 01:58:45 -0400
Subject: [PATCH 085/105] [systems.zaphod] Re-enable virtualbox
---
systems/x86_64-linux/zaphod/misc.nix | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/systems/x86_64-linux/zaphod/misc.nix b/systems/x86_64-linux/zaphod/misc.nix
index e66c1304..0e8dfeb7 100644
--- a/systems/x86_64-linux/zaphod/misc.nix
+++ b/systems/x86_64-linux/zaphod/misc.nix
@@ -1,8 +1,6 @@
# Misc settings(documentation etc}
+{ lib, ... }:
{
- lib,
- ...
-}: {
documentation = {
enable = true;
doc.enable = false;
@@ -25,13 +23,13 @@
# systemd.tmpfiles.rules = ["L+ /lib64 - - - - /run/current-system/sw/lib64"];
virtualisation.virtualbox = {
- host.enable = false;
+ host.enable = true;
host.enableExtensionPack = false;
guest = {
- enable = false;
+ enable = true;
clipboard = true;
seamless = false;
- draganddrop = true;
+ dragAndDrop = true;
};
};
# Enable Virt-manager
@@ -39,7 +37,10 @@
programs.dconf.enable = true;
# environment.systemPackages = with pkgs; [virt-manager];
- users.extraGroups.vboxusers.members = ["thehedgehog" "pyrox"];
+ users.extraGroups.vboxusers.members = [
+ "thehedgehog"
+ "pyrox"
+ ];
# users.extraGroups.libvirtd.members = ["thehedgehog" "pyrox"];
# xdg.portal.extraPortals = [
# pkgs.xdg-desktop-portal-gtk
--
2.51.2
From f889a1dc37ffe6168ab2bea2ea9aec355ef28634 Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Sat, 8 Jun 2024 02:01:04 -0400
Subject: [PATCH 086/105] [modules.nixos] Unset default package
---
modules/nixos/default-config/default.nix | 2 --
1 file changed, 2 deletions(-)
diff --git a/modules/nixos/default-config/default.nix b/modules/nixos/default-config/default.nix
index 20883acc..c3078abd 100644
--- a/modules/nixos/default-config/default.nix
+++ b/modules/nixos/default-config/default.nix
@@ -1,4 +1,3 @@
-{ inputs, system, ... }:
{
imports = [
./bootloader.nix
@@ -14,7 +13,6 @@
./users.nix
];
system.stateVersion = "24.11";
- nix.package = inputs.lix.packages.${system}.default;
catppuccin.flavor = "mocha";
console.catppuccin.enable = true;
}
--
2.51.2
From c87bb9e1e54d6f055ba3184f828dd677b61ce251 Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Sat, 8 Jun 2024 02:01:13 -0400
Subject: [PATCH 087/105] [meta] Flake update
---
flake.lock | 370 ++++++++++++++++++++++++++++++++++++-----------------
1 file changed, 253 insertions(+), 117 deletions(-)
diff --git a/flake.lock b/flake.lock
index 9a69b3bb..3166a9de 100644
--- a/flake.lock
+++ b/flake.lock
@@ -14,11 +14,11 @@
]
},
"locked": {
- "lastModified": 1715290355,
- "narHash": "sha256-2T7CHTqBXJJ3ZC6R/4TXTcKoXWHcvubKNj9SfomURnw=",
+ "lastModified": 1716561646,
+ "narHash": "sha256-UIGtLO89RxKt7RF2iEgPikSdU53r6v/6WYB0RW3k89I=",
"owner": "ryantm",
"repo": "agenix",
- "rev": "8d37c5bdeade12b6479c85acd133063ab53187a0",
+ "rev": "c2fc0762bbe8feb06a2e59a364fa81b3a57671c9",
"type": "github"
},
"original": {
@@ -54,25 +54,17 @@
"attic": {
"inputs": {
"crane": "crane",
- "flake-compat": [
- "flake-compat"
- ],
- "flake-utils": [
- "flake-utils"
- ],
- "nixpkgs": [
- "nixpkgs"
- ],
- "nixpkgs-stable": [
- "nixpkgs"
- ]
+ "flake-compat": "flake-compat",
+ "flake-utils": "flake-utils",
+ "nixpkgs": "nixpkgs",
+ "nixpkgs-stable": "nixpkgs-stable"
},
"locked": {
- "lastModified": 1717279440,
- "narHash": "sha256-kH04ReTjxOpQumgWnqy40vvQLSnLGxWP6RF3nq5Esrk=",
+ "lastModified": 1707922053,
+ "narHash": "sha256-wSZjK+rOXn+UQiP1NbdNn5/UW6UcBxjvlqr2wh++MbM=",
"owner": "zhaofengli",
"repo": "attic",
- "rev": "717cc95983cdc357bc347d70be20ced21f935843",
+ "rev": "6eabc3f02fae3683bffab483e614bebfcd476b21",
"type": "github"
},
"original": {
@@ -109,11 +101,11 @@
"treefmt-nix": "treefmt-nix"
},
"locked": {
- "lastModified": 1716168159,
- "narHash": "sha256-eYGbXW/0+R6TG8zdt4MGxYbX8XrRvWsmkCyz6cJz/dw=",
+ "lastModified": 1717749509,
+ "narHash": "sha256-rzss2EuyT/RFX/5LUVBDhIivIlhBd7Y5JgUdumzKP0A=",
"owner": "Mic92",
"repo": "buildbot-nix",
- "rev": "051f97f9f9a64ed6749aef1977cee369fef68652",
+ "rev": "b0526ceab2ec89bed5e194a206391a7d85a833e7",
"type": "github"
},
"original": {
@@ -139,11 +131,11 @@
]
},
"locked": {
- "lastModified": 1715719041,
- "narHash": "sha256-Zi/NDGvZULPVzRV/bF6fLK/h24XKRfxiUYtfFRM0Bks=",
+ "lastModified": 1717708867,
+ "narHash": "sha256-3QlCdDPspP4IQ8tj61Q+N79JMLquwcNFYxmZL1w9Aqk=",
"owner": "famedly",
"repo": "conduit",
- "rev": "9b8ec21e6e580e880cd824550fc47cc762c70345",
+ "rev": "a36ccff06ad0b82402d6ae322242e9f68ff895b9",
"type": "gitlab"
},
"original": {
@@ -198,11 +190,11 @@
},
"ctp": {
"locked": {
- "lastModified": 1716337435,
- "narHash": "sha256-eZqH1vLI9eKL/N5toXxOrQO80G0y4pWZrYCp472YBVQ=",
+ "lastModified": 1717565621,
+ "narHash": "sha256-uU6GeSbzopVcPga+Fy5n3tKfzUhuw4FVMv7h61/13XY=",
"owner": "catppuccin",
"repo": "nix",
- "rev": "fea5242c0eacc5efa81be0e36206a62e889dbd82",
+ "rev": "0cdfa29b902976fc2941468d326325d24e148437",
"type": "github"
},
"original": {
@@ -301,6 +293,22 @@
}
},
"flake-compat": {
+ "flake": false,
+ "locked": {
+ "lastModified": 1673956053,
+ "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=",
+ "owner": "edolstra",
+ "repo": "flake-compat",
+ "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9",
+ "type": "github"
+ },
+ "original": {
+ "owner": "edolstra",
+ "repo": "flake-compat",
+ "type": "github"
+ }
+ },
+ "flake-compat_2": {
"locked": {
"lastModified": 1696426674,
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
@@ -315,7 +323,7 @@
"type": "github"
}
},
- "flake-compat_2": {
+ "flake-compat_3": {
"flake": false,
"locked": {
"lastModified": 1696426674,
@@ -331,7 +339,7 @@
"type": "github"
}
},
- "flake-compat_3": {
+ "flake-compat_4": {
"flake": false,
"locked": {
"lastModified": 1650374568,
@@ -354,11 +362,11 @@
]
},
"locked": {
- "lastModified": 1715865404,
- "narHash": "sha256-/GJvTdTpuDjNn84j82cU6bXztE0MSkdnTWClUCRub78=",
+ "lastModified": 1717285511,
+ "narHash": "sha256-iKzJcpdXih14qYVcZ9QC9XuZYnPc6T8YImb6dX166kw=",
"owner": "hercules-ci",
"repo": "flake-parts",
- "rev": "8dc45382d5206bd292f9c2768b8058a8fd8311d9",
+ "rev": "2a55567fcf15b1b1c7ed712a2c6fadaec7412ea8",
"type": "github"
},
"original": {
@@ -388,6 +396,28 @@
"type": "indirect"
}
},
+ "flake-parts_3": {
+ "inputs": {
+ "nixpkgs-lib": [
+ "wayland",
+ "nix-eval-jobs",
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1712014858,
+ "narHash": "sha256-sB4SWl2lX95bExY2gMFG5HIzvva5AVMJd4Igm+GpZNw=",
+ "owner": "hercules-ci",
+ "repo": "flake-parts",
+ "rev": "9126214d0a59633752a136528f5f3b9aa8565b7d",
+ "type": "github"
+ },
+ "original": {
+ "owner": "hercules-ci",
+ "repo": "flake-parts",
+ "type": "github"
+ }
+ },
"flake-root": {
"locked": {
"lastModified": 1713493429,
@@ -404,17 +434,12 @@
}
},
"flake-utils": {
- "inputs": {
- "systems": [
- "systems"
- ]
- },
"locked": {
- "lastModified": 1710146030,
- "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
+ "lastModified": 1667395993,
+ "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
"owner": "numtide",
"repo": "flake-utils",
- "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
+ "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f",
"type": "github"
},
"original": {
@@ -425,7 +450,7 @@
},
"flake-utils-plus": {
"inputs": {
- "flake-utils": "flake-utils_2"
+ "flake-utils": "flake-utils_3"
},
"locked": {
"lastModified": 1715533576,
@@ -443,6 +468,26 @@
}
},
"flake-utils_2": {
+ "inputs": {
+ "systems": [
+ "systems"
+ ]
+ },
+ "locked": {
+ "lastModified": 1710146030,
+ "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
+ "type": "github"
+ },
+ "original": {
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "type": "github"
+ }
+ },
+ "flake-utils_3": {
"inputs": {
"systems": "systems"
},
@@ -460,6 +505,24 @@
"type": "github"
}
},
+ "flake-utils_4": {
+ "inputs": {
+ "systems": "systems_3"
+ },
+ "locked": {
+ "lastModified": 1710146030,
+ "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
+ "type": "github"
+ },
+ "original": {
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "type": "github"
+ }
+ },
"flakey-profile": {
"locked": {
"lastModified": 1712898590,
@@ -477,7 +540,7 @@
},
"git-hooks": {
"inputs": {
- "flake-compat": "flake-compat_2",
+ "flake-compat": "flake-compat_3",
"gitignore": "gitignore",
"nixpkgs": [
"nvim",
@@ -489,11 +552,11 @@
]
},
"locked": {
- "lastModified": 1716213921,
- "narHash": "sha256-xrsYFST8ij4QWaV6HEokCUNIZLjjLP1bYC60K8XiBVA=",
+ "lastModified": 1717664902,
+ "narHash": "sha256-7XfBuLULizXjXfBYy/VV+SpYMHreNRHk9nKMsm1bgb4=",
"owner": "cachix",
"repo": "git-hooks.nix",
- "rev": "0e8fcc54b842ad8428c9e705cb5994eaf05c26a0",
+ "rev": "cc4d466cb1254af050ff7bdf47f6d404a7c646d1",
"type": "github"
},
"original": {
@@ -556,11 +619,11 @@
]
},
"locked": {
- "lastModified": 1715211201,
- "narHash": "sha256-WsoNDwmY3L1rN1/xw6P7NBjIqr+PJi8hrkpv82BDZe8=",
+ "lastModified": 1717682029,
+ "narHash": "sha256-BkEKMDY4G3Futom0UkfFGvfDxSs/F/MOTJC5/K7QrUQ=",
"owner": "tailscale",
"repo": "golink",
- "rev": "55a3c6e2fe19671ca82f92cc85882f530440608d",
+ "rev": "2ca2d9dd4878d167a0774e3445bb873c65da8d6a",
"type": "github"
},
"original": {
@@ -571,11 +634,11 @@
},
"hardware": {
"locked": {
- "lastModified": 1716173274,
- "narHash": "sha256-FC21Bn4m6ctajMjiUof30awPBH/7WjD0M5yqrWepZbY=",
+ "lastModified": 1717574423,
+ "narHash": "sha256-cz3P5MZffAHwL2IQaNzsqUBsJS+u0J/AAwArHMAcCa0=",
"owner": "nixos",
"repo": "nixos-hardware",
- "rev": "d9e0b26202fd500cf3e79f73653cce7f7d541191",
+ "rev": "d6c6cf6f5fead4057d8fb2d5f30aa8ac1727f177",
"type": "github"
},
"original": {
@@ -613,11 +676,11 @@
]
},
"locked": {
- "lastModified": 1715930644,
- "narHash": "sha256-W9pyM3/vePxrffHtzlJI6lDS3seANQ+Nqp+i58O46LI=",
+ "lastModified": 1717525419,
+ "narHash": "sha256-5z2422pzWnPXHgq2ms8lcCfttM0dz+hg+x1pCcNkAws=",
"owner": "nix-community",
"repo": "home-manager",
- "rev": "e3ad5108f54177e6520535768ddbf1e6af54b59d",
+ "rev": "a7117efb3725e6197dd95424136f79147aa35e5b",
"type": "github"
},
"original": {
@@ -648,12 +711,8 @@
},
"lib-aggregate": {
"inputs": {
- "flake-utils": [
- "flake-utils"
- ],
- "nixpkgs-lib": [
- "nixpkgs-lib"
- ]
+ "flake-utils": "flake-utils_4",
+ "nixpkgs-lib": "nixpkgs-lib_2"
},
"locked": {
"lastModified": 1717330178,
@@ -742,11 +801,11 @@
]
},
"locked": {
- "lastModified": 1714720456,
- "narHash": "sha256-e0WFe1BHqX23ADpGBc4ZRu38Mg+GICCZCqyS6EWCbHc=",
+ "lastModified": 1717515088,
+ "narHash": "sha256-nWOLpPA7+k7V1OjXTuxdsVd5jeeI0b13Di57wvnqkic=",
"owner": "simple-nixos-mailserver",
"repo": "nixos-mailserver",
- "rev": "41059fc548088e49e3ddb3a2b4faeb5de018e60f",
+ "rev": "0d51a32e4799d081f260eb4db37145f5f4ee7456",
"type": "gitlab"
},
"original": {
@@ -820,11 +879,11 @@
"neovim-src": {
"flake": false,
"locked": {
- "lastModified": 1716642936,
- "narHash": "sha256-l53vGzYIy6tI1rYBlbxW502sDgpmZ4i/uTdWWtPKPtM=",
+ "lastModified": 1717789397,
+ "narHash": "sha256-dgpdjyU8t45bJNg8bZ3FeHo3Wx5FQs9+01qMmxzzBgk=",
"owner": "neovim",
"repo": "neovim",
- "rev": "52389e724366ebb2fb58f08c657f580900dd09ee",
+ "rev": "da6f68ee6966ebf434eee840b22a4f45e61d77dd",
"type": "github"
},
"original": {
@@ -840,11 +899,11 @@
]
},
"locked": {
- "lastModified": 1714905986,
- "narHash": "sha256-Vj7iFkLrd7MDeeMVVol5uHTcaLwDq4a3vNx+6Sy1FLU=",
+ "lastModified": 1717227663,
+ "narHash": "sha256-f6wh1HMkW7Ks9PKOsS95odyCjZOMuiK6B9NJTRsMApg=",
"owner": "viperML",
"repo": "nh",
- "rev": "127a23c82aa41091e97466092d2547c08c2a9a9d",
+ "rev": "0d76479fcdec0243ea560d1e2fde854337787e3a",
"type": "github"
},
"original": {
@@ -855,13 +914,9 @@
},
"nix-eval-jobs": {
"inputs": {
- "flake-parts": [
- "flake-parts"
- ],
+ "flake-parts": "flake-parts_3",
"nix-github-actions": "nix-github-actions",
- "nixpkgs": [
- "nixpkgs"
- ],
+ "nixpkgs": "nixpkgs_3",
"treefmt-nix": "treefmt-nix_2"
},
"locked": {
@@ -925,11 +980,11 @@
]
},
"locked": {
- "lastModified": 1715446403,
- "narHash": "sha256-Cw6Q9rHcLjPKzab5O4G7cetFAaTZCex2VLvYIhJCbpg=",
+ "lastModified": 1716412349,
+ "narHash": "sha256-zvG3+V5jhZNMG2yTt1u3DnpHCK511aMeWwB9l+m6D90=",
"owner": "nix-community",
"repo": "nix-index",
- "rev": "195fb3525038e40836b8d286371365f5e7857c0c",
+ "rev": "987b3cc16118f598a667de6c59f6143362b9505b",
"type": "github"
},
"original": {
@@ -945,11 +1000,11 @@
]
},
"locked": {
- "lastModified": 1716170277,
- "narHash": "sha256-fCAiox/TuzWGVaAz16PxrR4Jtf9lN5dwWL2W74DS0yI=",
+ "lastModified": 1717744769,
+ "narHash": "sha256-1usk5faO+KRn/03xKW3G3ex9/wHeLfwKTa7x8QNcygc=",
"owner": "Mic92",
"repo": "nix-index-database",
- "rev": "e0638db3db43b582512a7de8c0f8363a162842b9",
+ "rev": "4ac3639cebb6286f1a68d015b80e9e0c6c869ce6",
"type": "github"
},
"original": {
@@ -969,11 +1024,11 @@
]
},
"locked": {
- "lastModified": 1716179952,
- "narHash": "sha256-YYAkj/wBEMO75nnJbcB4cjSfGzlkmaRao1WeULDIdGc=",
+ "lastModified": 1717293270,
+ "narHash": "sha256-twDibXDWwmySk6C/hFUpeBewB5heSyCDDHWOAeRSp40=",
"owner": "nix-community",
"repo": "nixd",
- "rev": "ff3eb7117ea030d8d466d364513394cf47b58715",
+ "rev": "be5ad5ec113595e2900e6391a08cf0e4784a9cfe",
"type": "github"
},
"original": {
@@ -1007,15 +1062,15 @@
},
"nixpkgs": {
"locked": {
- "lastModified": 1716358718,
- "narHash": "sha256-NQbegJb2ZZnAqp2EJhWwTf6DrZXSpA6xZCEq+RGV1r0=",
- "owner": "nixos",
+ "lastModified": 1702539185,
+ "narHash": "sha256-KnIRG5NMdLIpEkZTnN5zovNYc0hhXjAgv6pfd5Z4c7U=",
+ "owner": "NixOS",
"repo": "nixpkgs",
- "rev": "3f316d2a50699a78afe5e77ca486ad553169061e",
+ "rev": "aa9d4729cbc99dabacb50e3994dcefb3ea0f7447",
"type": "github"
},
"original": {
- "owner": "nixos",
+ "owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
@@ -1023,11 +1078,26 @@
},
"nixpkgs-lib": {
"locked": {
- "lastModified": 1716079763,
- "narHash": "sha256-DGRfb7fO7c3XDS3twmuaV5NAGPPdU3W7Q35fjIZc8iY=",
+ "lastModified": 1717289404,
+ "narHash": "sha256-4q6ZO3BqHgdd3Aacb/xiQXB4g9TQKpQg/praTpD9vbI=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
- "rev": "0df131b5ee4d928a4b664b6d0cd99cf134d6ab6b",
+ "rev": "e090cb30ae82f4b4461aafdb808847c6c97b08c2",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-community",
+ "repo": "nixpkgs.lib",
+ "type": "github"
+ }
+ },
+ "nixpkgs-lib_2": {
+ "locked": {
+ "lastModified": 1717289404,
+ "narHash": "sha256-4q6ZO3BqHgdd3Aacb/xiQXB4g9TQKpQg/praTpD9vbI=",
+ "owner": "nix-community",
+ "repo": "nixpkgs.lib",
+ "rev": "e090cb30ae82f4b4461aafdb808847c6c97b08c2",
"type": "github"
},
"original": {
@@ -1052,13 +1122,61 @@
"type": "github"
}
},
+ "nixpkgs-stable": {
+ "locked": {
+ "lastModified": 1702780907,
+ "narHash": "sha256-blbrBBXjjZt6OKTcYX1jpe9SRof2P9ZYWPzq22tzXAA=",
+ "owner": "NixOS",
+ "repo": "nixpkgs",
+ "rev": "1e2e384c5b7c50dbf8e9c441a9e58d85f408b01f",
+ "type": "github"
+ },
+ "original": {
+ "owner": "NixOS",
+ "ref": "nixos-23.11",
+ "repo": "nixpkgs",
+ "type": "github"
+ }
+ },
+ "nixpkgs_2": {
+ "locked": {
+ "lastModified": 1717681334,
+ "narHash": "sha256-HlvsMH8BNgdmQCwbBDmWp5/DfkEQYhXZHagJQCgbJU0=",
+ "owner": "nixos",
+ "repo": "nixpkgs",
+ "rev": "31f40991012489e858517ec20102f033e4653afb",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nixos",
+ "ref": "nixpkgs-unstable",
+ "repo": "nixpkgs",
+ "type": "github"
+ }
+ },
+ "nixpkgs_3": {
+ "locked": {
+ "lastModified": 1715037484,
+ "narHash": "sha256-OUt8xQFmBU96Hmm4T9tOWTu4oCswCzoVl+pxSq/kiFc=",
+ "owner": "NixOS",
+ "repo": "nixpkgs",
+ "rev": "ad7efee13e0d216bf29992311536fce1d3eefbef",
+ "type": "github"
+ },
+ "original": {
+ "owner": "NixOS",
+ "ref": "nixpkgs-unstable",
+ "repo": "nixpkgs",
+ "type": "github"
+ }
+ },
"nur": {
"locked": {
- "lastModified": 1716406862,
- "narHash": "sha256-bTjSaps3xYW1Vkqq1s8Uu8rjMublBhHXM62I5wNbXAc=",
+ "lastModified": 1717821758,
+ "narHash": "sha256-9iQreGkOPNBSMloULfv45dzAuaihK9ESR26bRs//tW0=",
"owner": "nix-community",
"repo": "nur",
- "rev": "8357d594efaf5a65897e31c66f82661e2be3533a",
+ "rev": "f4f3dcd9f8be9eee489df9ec268e395cbbd215f3",
"type": "github"
},
"original": {
@@ -1083,11 +1201,11 @@
]
},
"locked": {
- "lastModified": 1716827514,
- "narHash": "sha256-5qS9Jn3FaEFMGGhS/1mLOUifMFDLPcLczjcdaN7xgyE=",
+ "lastModified": 1717806683,
+ "narHash": "sha256-11GHW2BLRQVupjjSGw+oiAVhODUrHdfyg2ZGWft1Hxg=",
"owner": "nix-community",
"repo": "neovim-nightly-overlay",
- "rev": "7849e018a09688cd71bde887113954b3ce08739c",
+ "rev": "645fb803eb27b6eebb4ccacaebc350b328046221",
"type": "github"
},
"original": {
@@ -1099,22 +1217,25 @@
"pre-commit-hooks": {
"inputs": {
"flake-compat": [
+ "prismlauncher",
"flake-compat"
],
"gitignore": "gitignore_2",
"nixpkgs": [
+ "prismlauncher",
"nixpkgs"
],
"nixpkgs-stable": [
+ "prismlauncher",
"nixpkgs"
]
},
"locked": {
- "lastModified": 1717664902,
- "narHash": "sha256-7XfBuLULizXjXfBYy/VV+SpYMHreNRHk9nKMsm1bgb4=",
+ "lastModified": 1716213921,
+ "narHash": "sha256-xrsYFST8ij4QWaV6HEokCUNIZLjjLP1bYC60K8XiBVA=",
"owner": "cachix",
"repo": "pre-commit-hooks.nix",
- "rev": "cc4d466cb1254af050ff7bdf47f6d404a7c646d1",
+ "rev": "0e8fcc54b842ad8428c9e705cb5994eaf05c26a0",
"type": "github"
},
"original": {
@@ -1138,11 +1259,11 @@
"pre-commit-hooks": "pre-commit-hooks"
},
"locked": {
- "lastModified": 1716218305,
- "narHash": "sha256-xGgcuNZ5XSOWJNIgIHS7Y5r5l/hRr6rQL9KKTRFed2Q=",
+ "lastModified": 1717787840,
+ "narHash": "sha256-qGHSbzo7F3aZv7x9g6GooAzO+hqOCFUMdCVCn2sudbY=",
"owner": "PrismLauncher",
"repo": "PrismLauncher",
- "rev": "0ecdceccd2ea7432ae6810a7e41afe848ccc452f",
+ "rev": "3ef5cd20f4fa8456d581ab6c00664cf7288014fc",
"type": "github"
},
"original": {
@@ -1159,9 +1280,9 @@
"conduit": "conduit",
"ctp": "ctp",
"dns": "dns",
- "flake-compat": "flake-compat",
+ "flake-compat": "flake-compat_2",
"flake-parts": "flake-parts",
- "flake-utils": "flake-utils",
+ "flake-utils": "flake-utils_2",
"golink": "golink",
"hardware": "hardware",
"home-manager": "home-manager",
@@ -1177,7 +1298,7 @@
"nix-index-database": "nix-index-database",
"nixd": "nixd",
"nixos-generators": "nixos-generators",
- "nixpkgs": "nixpkgs",
+ "nixpkgs": "nixpkgs_2",
"nixpkgs-lib": "nixpkgs-lib",
"nixpkgs-nvim": "nixpkgs-nvim",
"nur": "nur",
@@ -1225,7 +1346,7 @@
},
"snowfall": {
"inputs": {
- "flake-compat": "flake-compat_3",
+ "flake-compat": "flake-compat_4",
"flake-utils-plus": "flake-utils-plus",
"nixpkgs": [
"nixpkgs"
@@ -1247,11 +1368,11 @@
},
"stable": {
"locked": {
- "lastModified": 1717144377,
- "narHash": "sha256-F/TKWETwB5RaR8owkPPi+SPJh83AQsm6KrQAlJ8v/uA=",
+ "lastModified": 1717696253,
+ "narHash": "sha256-1+ua0ggXlYYPLTmMl3YeYYsBXDSCqT+Gw3u6l4gvMhA=",
"owner": "nixos",
"repo": "nixpkgs",
- "rev": "805a384895c696f802a9bf5bf4720f37385df547",
+ "rev": "9b5328b7f761a7bbdc0e332ac4cf076a3eedb89b",
"type": "github"
},
"original": {
@@ -1291,6 +1412,21 @@
"type": "github"
}
},
+ "systems_3": {
+ "locked": {
+ "lastModified": 1681028828,
+ "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
+ "owner": "nix-systems",
+ "repo": "default",
+ "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-systems",
+ "repo": "default",
+ "type": "github"
+ }
+ },
"treefmt-nix": {
"inputs": {
"nixpkgs": [
@@ -1299,11 +1435,11 @@
]
},
"locked": {
- "lastModified": 1715940852,
- "narHash": "sha256-wJqHMg/K6X3JGAE9YLM0LsuKrKb4XiBeVaoeMNlReZg=",
+ "lastModified": 1717278143,
+ "narHash": "sha256-u10aDdYrpiGOLoxzY/mJ9llST9yO8Q7K/UlROoNxzDw=",
"owner": "numtide",
"repo": "treefmt-nix",
- "rev": "2fba33a182602b9d49f0b2440513e5ee091d838b",
+ "rev": "3eb96ca1ae9edf792a8e0963cc92fddfa5a87706",
"type": "github"
},
"original": {
@@ -1346,11 +1482,11 @@
]
},
"locked": {
- "lastModified": 1716402128,
- "narHash": "sha256-0GiKUz7JImcx+TG082iSep1Ap/sFJ36IPzSYVSQDBhA=",
+ "lastModified": 1717784639,
+ "narHash": "sha256-AfyQclkLlsyGIzP0gLzvFtBDxdO3a/QtJxzRr5WB5m0=",
"owner": "nix-community",
"repo": "nixpkgs-wayland",
- "rev": "8b85dc01079bc537183cf9bcf4c17eb714121643",
+ "rev": "3dac7060bfd7896e31d623a7bc88bd89d380c007",
"type": "github"
},
"original": {
--
2.51.2
From 2a5f41fa2a1f8b96317073b2cb356af4927c57bb Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Sat, 8 Jun 2024 02:01:26 -0400
Subject: [PATCH 088/105] [flake] Try some stuff
---
flake.nix | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/flake.nix b/flake.nix
index cd8e4440..d83e3e8f 100644
--- a/flake.nix
+++ b/flake.nix
@@ -207,15 +207,20 @@
self.overlays.pyronet-packages
self.overlays.alejandra
self.overlays.nix-index
- # self.overlays.nixos-option
inputs.my-pkgs.overlays.cinny
inputs.golink.overlay
- inputs.lix-module.overlays.default
+ # inputs.lix-module.overlays.default
inputs.neovim.overlay
inputs.nixd.overlays.default
inputs.nur.overlay
inputs.prismlauncher.overlays.default
inputs.wayland.overlays.default
+ (import "${inputs.lix-module}/overlay.nix" {
+ inherit (inputs) lix;
+ versionSuffix = "pre${builtins.substring 0 8 inputs.lix.lastModifiedDate}-${
+ inputs.lix.shortRev or inputs.lix.dirtyShortRev
+ }";
+ })
];
# Home-manager configurations
@@ -234,7 +239,6 @@
agenix.nixosModules.default
buildbot-nix.nixosModules.buildbot-worker
ctp.nixosModules.catppuccin
- lix-module.nixosModules.default
];
hosts = {
# Zaphod, my personal Framework 16 laptop
--
2.51.2
From ee8cfeb5d787be54b7efaaa8690db0054cf66e91 Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Sat, 8 Jun 2024 02:18:31 -0400
Subject: [PATCH 089/105] [flake] Re-set nix.package in system config, this
time in a way that works.
---
flake.nix | 9 ++-------
modules/nixos/default-config/default.nix | 2 ++
2 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/flake.nix b/flake.nix
index d83e3e8f..686166ce 100644
--- a/flake.nix
+++ b/flake.nix
@@ -209,18 +209,12 @@
self.overlays.nix-index
inputs.my-pkgs.overlays.cinny
inputs.golink.overlay
- # inputs.lix-module.overlays.default
+ inputs.lix-module.overlays.default
inputs.neovim.overlay
inputs.nixd.overlays.default
inputs.nur.overlay
inputs.prismlauncher.overlays.default
inputs.wayland.overlays.default
- (import "${inputs.lix-module}/overlay.nix" {
- inherit (inputs) lix;
- versionSuffix = "pre${builtins.substring 0 8 inputs.lix.lastModifiedDate}-${
- inputs.lix.shortRev or inputs.lix.dirtyShortRev
- }";
- })
];
# Home-manager configurations
@@ -239,6 +233,7 @@
agenix.nixosModules.default
buildbot-nix.nixosModules.buildbot-worker
ctp.nixosModules.catppuccin
+ lix-module.nixosModules.default
];
hosts = {
# Zaphod, my personal Framework 16 laptop
diff --git a/modules/nixos/default-config/default.nix b/modules/nixos/default-config/default.nix
index c3078abd..1be41b21 100644
--- a/modules/nixos/default-config/default.nix
+++ b/modules/nixos/default-config/default.nix
@@ -1,3 +1,4 @@
+{ pkgs, ... }:
{
imports = [
./bootloader.nix
@@ -13,6 +14,7 @@
./users.nix
];
system.stateVersion = "24.11";
+ nix.package = pkgs.nixVersions.stable;
catppuccin.flavor = "mocha";
console.catppuccin.enable = true;
}
--
2.51.2
From 7aa99df72d4a1a661fa3e6a81c9671a56f71b901 Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Sat, 8 Jun 2024 02:27:39 -0400
Subject: [PATCH 090/105] [homes] Move users to machine-specific configs
---
homes/x86_64-linux/{pyrox => pyrox@zaphod}/default.nix | 0
.../{pyrox => pyrox@zaphod}/files/distrobox-config.nix | 0
homes/x86_64-linux/{pyrox => pyrox@zaphod}/files/pamKeys.nix | 0
homes/x86_64-linux/{pyrox => pyrox@zaphod}/services/kanshi.nix | 0
.../x86_64-linux/{thehedgehog => thehedgehog@zaphod}/default.nix | 0
5 files changed, 0 insertions(+), 0 deletions(-)
rename homes/x86_64-linux/{pyrox => pyrox@zaphod}/default.nix (100%)
rename homes/x86_64-linux/{pyrox => pyrox@zaphod}/files/distrobox-config.nix (100%)
rename homes/x86_64-linux/{pyrox => pyrox@zaphod}/files/pamKeys.nix (100%)
rename homes/x86_64-linux/{pyrox => pyrox@zaphod}/services/kanshi.nix (100%)
rename homes/x86_64-linux/{thehedgehog => thehedgehog@zaphod}/default.nix (100%)
diff --git a/homes/x86_64-linux/pyrox/default.nix b/homes/x86_64-linux/pyrox@zaphod/default.nix
similarity index 100%
rename from homes/x86_64-linux/pyrox/default.nix
rename to homes/x86_64-linux/pyrox@zaphod/default.nix
diff --git a/homes/x86_64-linux/pyrox/files/distrobox-config.nix b/homes/x86_64-linux/pyrox@zaphod/files/distrobox-config.nix
similarity index 100%
rename from homes/x86_64-linux/pyrox/files/distrobox-config.nix
rename to homes/x86_64-linux/pyrox@zaphod/files/distrobox-config.nix
diff --git a/homes/x86_64-linux/pyrox/files/pamKeys.nix b/homes/x86_64-linux/pyrox@zaphod/files/pamKeys.nix
similarity index 100%
rename from homes/x86_64-linux/pyrox/files/pamKeys.nix
rename to homes/x86_64-linux/pyrox@zaphod/files/pamKeys.nix
diff --git a/homes/x86_64-linux/pyrox/services/kanshi.nix b/homes/x86_64-linux/pyrox@zaphod/services/kanshi.nix
similarity index 100%
rename from homes/x86_64-linux/pyrox/services/kanshi.nix
rename to homes/x86_64-linux/pyrox@zaphod/services/kanshi.nix
diff --git a/homes/x86_64-linux/thehedgehog/default.nix b/homes/x86_64-linux/thehedgehog@zaphod/default.nix
similarity index 100%
rename from homes/x86_64-linux/thehedgehog/default.nix
rename to homes/x86_64-linux/thehedgehog@zaphod/default.nix
--
2.51.2
From 6def14a93a9a975617fbb5087e3bf870a2fe90bc Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Sat, 8 Jun 2024 02:27:45 -0400
Subject: [PATCH 091/105] [homes] Add pyrox@marvin
---
homes/x86_64-linux/pyrox@marvin/default.nix | 15 +++++++
.../pyrox@marvin/files/distrobox-config.nix | 7 ++++
.../pyrox@marvin/files/pamKeys.nix | 5 +++
.../pyrox@marvin/services/kanshi.nix | 40 +++++++++++++++++++
4 files changed, 67 insertions(+)
create mode 100644 homes/x86_64-linux/pyrox@marvin/default.nix
create mode 100644 homes/x86_64-linux/pyrox@marvin/files/distrobox-config.nix
create mode 100644 homes/x86_64-linux/pyrox@marvin/files/pamKeys.nix
create mode 100644 homes/x86_64-linux/pyrox@marvin/services/kanshi.nix
diff --git a/homes/x86_64-linux/pyrox@marvin/default.nix b/homes/x86_64-linux/pyrox@marvin/default.nix
new file mode 100644
index 00000000..4413efbe
--- /dev/null
+++ b/homes/x86_64-linux/pyrox@marvin/default.nix
@@ -0,0 +1,15 @@
+{ osConfig, ... }:
+{
+ imports = [
+ ./services/kanshi.nix
+ ./files/pamKeys.nix
+ ./files/distrobox-config.nix
+ ];
+ snowfallorg.user = {
+ enable = true;
+ };
+ home.stateVersion = osConfig.system.stateVersion;
+ py = {
+ profiles.server.enable = true;
+ };
+}
diff --git a/homes/x86_64-linux/pyrox@marvin/files/distrobox-config.nix b/homes/x86_64-linux/pyrox@marvin/files/distrobox-config.nix
new file mode 100644
index 00000000..88169691
--- /dev/null
+++ b/homes/x86_64-linux/pyrox@marvin/files/distrobox-config.nix
@@ -0,0 +1,7 @@
+{
+ xdg.configFile."distrobox/distrobox.conf" = {
+ text = ''
+ distrobox_sudo_program="doas"
+ '';
+ };
+}
diff --git a/homes/x86_64-linux/pyrox@marvin/files/pamKeys.nix b/homes/x86_64-linux/pyrox@marvin/files/pamKeys.nix
new file mode 100644
index 00000000..d886c83c
--- /dev/null
+++ b/homes/x86_64-linux/pyrox@marvin/files/pamKeys.nix
@@ -0,0 +1,5 @@
+{
+ xdg.configFile."Yubico/u2f_keys".text = ''
+ thehedgehog:iC1dk7d+DYFX60wpkDlWdwNpkRLXmML7iDjxh4TRXe8OhsAb2pgKiY6tVLHeZIK3WOVA1DuWU8rWlHdma3eqJg==,NdBJTVCvOamU35ad3fJRv6A6YZQIYrojcVk9a8WYMVvTtKO+xyIeBvunlidHv4Zb0rYrOvK6u7Gb4N5x6T6FIQ==,es256,+presence:juWx2IphhNuHZHiv8nG3i2WWTyR5A+CWp5iHz2AmE7aj3b3rgj85Gl1PMpmZlvlwDgbCP+dlcP5PPzTFloB3Ow==,FEXBkP0PzZSURoIbLuGiRRHFIcSiqEz/ieNPRqRY/hqLJ4AsvGwJ1xdIX7F8qAQuMSp8m7usuBLS4u+4FGg3Ng==,es256,+presence
+ '';
+}
diff --git a/homes/x86_64-linux/pyrox@marvin/services/kanshi.nix b/homes/x86_64-linux/pyrox@marvin/services/kanshi.nix
new file mode 100644
index 00000000..a2317566
--- /dev/null
+++ b/homes/x86_64-linux/pyrox@marvin/services/kanshi.nix
@@ -0,0 +1,40 @@
+{
+ services.kanshi = {
+ enable = true;
+ settings = [
+ {
+ profile = {
+ name = "default";
+ outputs = [
+ {
+ criteria = "eDP-1";
+ status = "enable";
+ scale = 1.2;
+ position = "0,0";
+ }
+ ];
+ };
+ }
+ {
+ profile = {
+ name = "home";
+ outputs = [
+ {
+ criteria = "DP-4";
+ status = "enable";
+ scale = 1.0;
+ position = "0,0";
+ }
+ {
+ criteria = "eDP-1";
+ # status = "enable";
+ status = "disable";
+ # scale = 1.0;
+ # position = "1920,0";
+ }
+ ];
+ };
+ }
+ ];
+ };
+}
--
2.51.2
From d69ca5d01441aa0b61bbdb78e8ec0a51f7b41ddb Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Sat, 8 Jun 2024 02:28:08 -0400
Subject: [PATCH 092/105] [modules.nixos] Fix forgejo-runner service
---
.../nixos/services/forgejo-runner/default.nix | 4 ++--
systems/x86_64-linux/marvin/services/git.nix | 24 +++++++++++--------
2 files changed, 16 insertions(+), 12 deletions(-)
diff --git a/modules/nixos/services/forgejo-runner/default.nix b/modules/nixos/services/forgejo-runner/default.nix
index 3ce92957..ea95c5e6 100644
--- a/modules/nixos/services/forgejo-runner/default.nix
+++ b/modules/nixos/services/forgejo-runner/default.nix
@@ -37,10 +37,10 @@ let
};
};
};
- cfg = config.pyrox.services.forgejo-runner;
+ cfg = config.py.services.forgejo-runner;
in
{
- options.pyrox.services.forgejo-runner = {
+ options.py.services.forgejo-runner = {
enable = lib.mkEnableOption "Forgejo Actions Runner configuration";
tokenFile = lib.mkOption {
type = lib.types.path;
diff --git a/systems/x86_64-linux/marvin/services/git.nix b/systems/x86_64-linux/marvin/services/git.nix
index ea05b9f4..470149d2 100644
--- a/systems/x86_64-linux/marvin/services/git.nix
+++ b/systems/x86_64-linux/marvin/services/git.nix
@@ -1,8 +1,5 @@
-{
- config,
- lib,
- ...
-}: let
+{ config, lib, ... }:
+let
cfg = config.services.forgejo.settings;
age = config.age.secrets;
stateDir = "/var/lib/forgejo";
@@ -15,8 +12,9 @@
};
d = lib.data.services.git;
-in {
- pyrox.services.forgejo-runner = {
+in
+{
+ py.services.forgejo-runner = {
enable = true;
tokenFile = age.forgejo-default-runner-token.path;
};
@@ -34,7 +32,9 @@ in {
APP_NAME = "PyroNet Git";
RUN_MODE = "prod";
};
- attachment = {MAX_SIZE = 200;};
+ attachment = {
+ MAX_SIZE = 200;
+ };
mailer = {
ENABLED = true;
FROM = "PyroNet Git ";
@@ -43,7 +43,9 @@ in {
SMTP_PORT = 465;
USER = "git@pyrox.dev";
};
- picture = {ENABLE_FEDERATED_AVATAR = true;};
+ picture = {
+ ENABLE_FEDERATED_AVATAR = true;
+ };
ui = {
DEFAULT_SHOW_FULL_NAME = true;
DEFAULT_THEME = "catppuccin-mocha-blue";
@@ -54,7 +56,9 @@ in {
AUTHOR = "Pyrox";
DESCRIPTION = "PyroNet Git Services";
};
- metrics = {ENABLED = true;};
+ metrics = {
+ ENABLED = true;
+ };
server = {
DISABLE_SSH = true;
DOMAIN = d.extUrl;
--
2.51.2
From eb4a7af21fb8950d1d928a27df7c6bcd4a74fc07 Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Sat, 8 Jun 2024 02:30:10 -0400
Subject: [PATCH 093/105] [systems.marvin] Add custom config options
---
systems/x86_64-linux/marvin/default.nix | 24 ++++++++++++++++++------
1 file changed, 18 insertions(+), 6 deletions(-)
diff --git a/systems/x86_64-linux/marvin/default.nix b/systems/x86_64-linux/marvin/default.nix
index 5f61a847..d771f623 100644
--- a/systems/x86_64-linux/marvin/default.nix
+++ b/systems/x86_64-linux/marvin/default.nix
@@ -1,4 +1,5 @@
-{...}: {
+{ ... }:
+{
imports = [
# Common Config
../default.nix
@@ -40,8 +41,12 @@
];
nix.settings.max-jobs = 12;
networking = {
- networkmanager = {enable = true;};
- wireless = {enable = false;};
+ networkmanager = {
+ enable = true;
+ };
+ wireless = {
+ enable = false;
+ };
};
fileSystems = {
"/" = {
@@ -56,14 +61,21 @@
"/var" = {
fsType = "zfs";
device = "tank/var";
- options = ["zfsutil"];
+ options = [ "zfsutil" ];
};
"/var/log/journal" = {
fsType = "zfs";
device = "tank/var/log/journal";
- options = ["zfsutil"];
+ options = [ "zfsutil" ];
};
};
- swapDevices = [{device = "/dev/disk/by-uuid/e69409bc-9cf0-4795-8620-33a021a4b729";}];
+ swapDevices = [ { device = "/dev/disk/by-uuid/e69409bc-9cf0-4795-8620-33a021a4b729"; } ];
users.groups.misc.gid = 1000;
+ py = {
+ users.default.enable = true;
+ programs = {
+ fish.enable = true;
+ neovim.enable = true;
+ };
+ };
}
--
2.51.2
From e11021129eb2dbcc07b363977558c7734376ad3a Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Sat, 8 Jun 2024 02:38:08 -0400
Subject: [PATCH 094/105] [systems] Remove all imports that are from upper
directories
---
systems/x86_64-linux/marvin/default.nix | 9 ---------
systems/x86_64-linux/prefect/default.nix | 9 ++-------
systems/x86_64-linux/thought/default.nix | 9 ++-------
3 files changed, 4 insertions(+), 23 deletions(-)
diff --git a/systems/x86_64-linux/marvin/default.nix b/systems/x86_64-linux/marvin/default.nix
index d771f623..044e7732 100644
--- a/systems/x86_64-linux/marvin/default.nix
+++ b/systems/x86_64-linux/marvin/default.nix
@@ -1,20 +1,11 @@
{ ... }:
{
imports = [
- # Common Config
- ../default.nix
-
- # My user, also a default.
- ../../users/thehedgehog/default.nix
-
# Machine-specific configurations.
./firewall.nix
./networking.nix
./hardware.nix
- # Common service configs
- ../modules/services/buildbot-worker.nix
-
# Running Services
./services/authentik.nix
./services/avahi.nix
diff --git a/systems/x86_64-linux/prefect/default.nix b/systems/x86_64-linux/prefect/default.nix
index 54f631fa..16b98ca9 100644
--- a/systems/x86_64-linux/prefect/default.nix
+++ b/systems/x86_64-linux/prefect/default.nix
@@ -1,11 +1,6 @@
-{pkgs, ...}: {
+{ pkgs, ... }:
+{
imports = [
- # Common Config
- ../default.nix
-
- # My user, also a default.
- ../../users/thehedgehog/default.nix
-
# Machine-specific configurations.
./firewall.nix
./networking.nix
diff --git a/systems/x86_64-linux/thought/default.nix b/systems/x86_64-linux/thought/default.nix
index 44b2eb48..4aa1924f 100644
--- a/systems/x86_64-linux/thought/default.nix
+++ b/systems/x86_64-linux/thought/default.nix
@@ -1,11 +1,6 @@
-{pkgs, ...}: {
+{ pkgs, ... }:
+{
imports = [
- # Common Config
- ../default.nix
-
- # My user, also a default.
- ../../users/thehedgehog/default.nix
-
# Machine-specific configurations.
./firewall.nix
./networking.nix
--
2.51.2
From 8b4c95b93ff43e80cb5a7e5acbbaa4efff6b14f3 Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Sat, 8 Jun 2024 02:38:47 -0400
Subject: [PATCH 095/105] [systems.marvin] Evaluation fixes
---
systems/x86_64-linux/marvin/bootloader.nix | 36 +++++++++++++------
systems/x86_64-linux/marvin/default.nix | 1 +
systems/x86_64-linux/marvin/services/git.nix | 2 +-
.../marvin/services/iceshrimp.nix | 27 +++++++-------
4 files changed, 41 insertions(+), 25 deletions(-)
diff --git a/systems/x86_64-linux/marvin/bootloader.nix b/systems/x86_64-linux/marvin/bootloader.nix
index 42afaa43..0cd3b3a7 100644
--- a/systems/x86_64-linux/marvin/bootloader.nix
+++ b/systems/x86_64-linux/marvin/bootloader.nix
@@ -1,21 +1,35 @@
+{ pkgs, lib, ... }:
{
- pkgs,
- lib,
- ...
-}: {
boot = {
- extraModulePackages = [];
- kernelModules = ["kvm-amd"];
+ extraModulePackages = [ ];
+ kernelModules = [ "kvm-amd" ];
kernelPackages = pkgs.linuxPackages_6_1;
- kernelParams = ["nohibernate"];
- supportedFilesystems = lib.mkForce ["btrfs" "vfat" "f2fs" "zfs"];
+ kernelParams = [ "nohibernate" ];
+ supportedFilesystems = lib.mkForce [
+ "btrfs"
+ "vfat"
+ "f2fs"
+ "zfs"
+ ];
zfs.devNodes = "/dev/";
# Initrd config
initrd = {
- availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"];
- supportedFilesystems = ["btrfs" "vfat" "f2fs" "zfs"];
- kernelModules = [];
+ availableKernelModules = [
+ "xhci_pci"
+ "ahci"
+ "nvme"
+ "usbhid"
+ "usb_storage"
+ "sd_mod"
+ ];
+ supportedFilesystems = [
+ "btrfs"
+ "vfat"
+ "f2fs"
+ "zfs"
+ ];
+ kernelModules = [ ];
};
# Systemd-boot config
diff --git a/systems/x86_64-linux/marvin/default.nix b/systems/x86_64-linux/marvin/default.nix
index 044e7732..8f7b4520 100644
--- a/systems/x86_64-linux/marvin/default.nix
+++ b/systems/x86_64-linux/marvin/default.nix
@@ -2,6 +2,7 @@
{
imports = [
# Machine-specific configurations.
+ ./bootloader.nix
./firewall.nix
./networking.nix
./hardware.nix
diff --git a/systems/x86_64-linux/marvin/services/git.nix b/systems/x86_64-linux/marvin/services/git.nix
index 470149d2..60ddfd2b 100644
--- a/systems/x86_64-linux/marvin/services/git.nix
+++ b/systems/x86_64-linux/marvin/services/git.nix
@@ -11,7 +11,7 @@ let
group = "forgejo";
};
- d = lib.data.services.git;
+ d = lib.py.data.services.git;
in
{
py.services.forgejo-runner = {
diff --git a/systems/x86_64-linux/marvin/services/iceshrimp.nix b/systems/x86_64-linux/marvin/services/iceshrimp.nix
index 3a84812c..ce89eb95 100644
--- a/systems/x86_64-linux/marvin/services/iceshrimp.nix
+++ b/systems/x86_64-linux/marvin/services/iceshrimp.nix
@@ -4,22 +4,23 @@
pkgs,
lib,
...
-}: let
+}:
+let
- d = lib.data.services.iceshrimp;
+ d = lib.py.data.services.iceshrimp;
- package = inputs.iceshrimp.packages.x86_64-linux.iceshrimp-pre.overrideAttrs
- rec {
- version = "2023.12.7-pyrox2";
- src = pkgs.fetchgit {
- url = "https://iceshrimp.dev/pyrox/iceshrimp";
- sha256 = lib.fakeSha256;
- rev = "v${version}";
- fetchLFS = true;
- };
- patches = [];
+ package = inputs.iceshrimp.packages.x86_64-linux.iceshrimp-pre.overrideAttrs rec {
+ version = "2023.12.7-pyrox2";
+ src = pkgs.fetchgit {
+ url = "https://iceshrimp.dev/pyrox/iceshrimp";
+ sha256 = "sha256-eoaStlM5amVRDS5oRSgTyJ/Zjgy1fK7My5jmq2rnbzQ=";
+ rev = "v${version}";
+ fetchLFS = true;
};
-in {
+ patches = [ ];
+ };
+in
+{
services.iceshrimp = {
inherit package;
enable = true;
--
2.51.2
From 00086b3106454e6f13b27b14e68e7cd9625df5a4 Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Sat, 8 Jun 2024 03:09:54 -0400
Subject: [PATCH 096/105] [homes.pyrox] marvin: Remove unneeded stuff
---
homes/x86_64-linux/pyrox@marvin/default.nix | 5 ---
.../pyrox@marvin/files/distrobox-config.nix | 7 ----
.../pyrox@marvin/files/pamKeys.nix | 5 ---
.../pyrox@marvin/services/kanshi.nix | 40 -------------------
4 files changed, 57 deletions(-)
delete mode 100644 homes/x86_64-linux/pyrox@marvin/files/distrobox-config.nix
delete mode 100644 homes/x86_64-linux/pyrox@marvin/files/pamKeys.nix
delete mode 100644 homes/x86_64-linux/pyrox@marvin/services/kanshi.nix
diff --git a/homes/x86_64-linux/pyrox@marvin/default.nix b/homes/x86_64-linux/pyrox@marvin/default.nix
index 4413efbe..dd1919dd 100644
--- a/homes/x86_64-linux/pyrox@marvin/default.nix
+++ b/homes/x86_64-linux/pyrox@marvin/default.nix
@@ -1,10 +1,5 @@
{ osConfig, ... }:
{
- imports = [
- ./services/kanshi.nix
- ./files/pamKeys.nix
- ./files/distrobox-config.nix
- ];
snowfallorg.user = {
enable = true;
};
diff --git a/homes/x86_64-linux/pyrox@marvin/files/distrobox-config.nix b/homes/x86_64-linux/pyrox@marvin/files/distrobox-config.nix
deleted file mode 100644
index 88169691..00000000
--- a/homes/x86_64-linux/pyrox@marvin/files/distrobox-config.nix
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- xdg.configFile."distrobox/distrobox.conf" = {
- text = ''
- distrobox_sudo_program="doas"
- '';
- };
-}
diff --git a/homes/x86_64-linux/pyrox@marvin/files/pamKeys.nix b/homes/x86_64-linux/pyrox@marvin/files/pamKeys.nix
deleted file mode 100644
index d886c83c..00000000
--- a/homes/x86_64-linux/pyrox@marvin/files/pamKeys.nix
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- xdg.configFile."Yubico/u2f_keys".text = ''
- thehedgehog:iC1dk7d+DYFX60wpkDlWdwNpkRLXmML7iDjxh4TRXe8OhsAb2pgKiY6tVLHeZIK3WOVA1DuWU8rWlHdma3eqJg==,NdBJTVCvOamU35ad3fJRv6A6YZQIYrojcVk9a8WYMVvTtKO+xyIeBvunlidHv4Zb0rYrOvK6u7Gb4N5x6T6FIQ==,es256,+presence:juWx2IphhNuHZHiv8nG3i2WWTyR5A+CWp5iHz2AmE7aj3b3rgj85Gl1PMpmZlvlwDgbCP+dlcP5PPzTFloB3Ow==,FEXBkP0PzZSURoIbLuGiRRHFIcSiqEz/ieNPRqRY/hqLJ4AsvGwJ1xdIX7F8qAQuMSp8m7usuBLS4u+4FGg3Ng==,es256,+presence
- '';
-}
diff --git a/homes/x86_64-linux/pyrox@marvin/services/kanshi.nix b/homes/x86_64-linux/pyrox@marvin/services/kanshi.nix
deleted file mode 100644
index a2317566..00000000
--- a/homes/x86_64-linux/pyrox@marvin/services/kanshi.nix
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- services.kanshi = {
- enable = true;
- settings = [
- {
- profile = {
- name = "default";
- outputs = [
- {
- criteria = "eDP-1";
- status = "enable";
- scale = 1.2;
- position = "0,0";
- }
- ];
- };
- }
- {
- profile = {
- name = "home";
- outputs = [
- {
- criteria = "DP-4";
- status = "enable";
- scale = 1.0;
- position = "0,0";
- }
- {
- criteria = "eDP-1";
- # status = "enable";
- status = "disable";
- # scale = 1.0;
- # position = "1920,0";
- }
- ];
- };
- }
- ];
- };
-}
--
2.51.2
From 781431a32fbfeb897b60c089d99a87d5bdada815 Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Sat, 8 Jun 2024 03:16:43 -0400
Subject: [PATCH 097/105] [homes.thehedgehog] Add marvin
---
homes/x86_64-linux/thehedgehog@marvin/default.nix | 10 ++++++++++
1 file changed, 10 insertions(+)
create mode 100644 homes/x86_64-linux/thehedgehog@marvin/default.nix
diff --git a/homes/x86_64-linux/thehedgehog@marvin/default.nix b/homes/x86_64-linux/thehedgehog@marvin/default.nix
new file mode 100644
index 00000000..dd1919dd
--- /dev/null
+++ b/homes/x86_64-linux/thehedgehog@marvin/default.nix
@@ -0,0 +1,10 @@
+{ osConfig, ... }:
+{
+ snowfallorg.user = {
+ enable = true;
+ };
+ home.stateVersion = osConfig.system.stateVersion;
+ py = {
+ profiles.server.enable = true;
+ };
+}
--
2.51.2
From 7dbf0b6800b89534e5d1d1a59c6a95cf559dd350 Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Sat, 8 Jun 2024 03:17:02 -0400
Subject: [PATCH 098/105] [marvin.services] Update nextcloud to 29
---
.../marvin/services/nextcloud/default.nix | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/systems/x86_64-linux/marvin/services/nextcloud/default.nix b/systems/x86_64-linux/marvin/services/nextcloud/default.nix
index 815f2e40..5dd53ab7 100644
--- a/systems/x86_64-linux/marvin/services/nextcloud/default.nix
+++ b/systems/x86_64-linux/marvin/services/nextcloud/default.nix
@@ -1,14 +1,21 @@
-{config, pkgs, lib, ...}: let
+{
+ config,
+ pkgs,
+ lib,
+ ...
+}:
+let
d = lib.py.data.services.nextcloud;
i = lib.py.data.services.nextcloud-imaginary;
-in {
+in
+{
imports = [
./office.nix
./imaginary.nix
];
services.nextcloud = {
enable = true;
- package = pkgs.nextcloud28;
+ package = pkgs.nextcloud29;
phpPackage = lib.mkForce pkgs.php82;
appstoreEnable = true;
caching.redis = true;
--
2.51.2
From 83bcf293bcc7642e5370fcaf23bba63223298574 Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Sat, 8 Jun 2024 12:25:34 -0400
Subject: [PATCH 099/105] [marvin.services] Update iceshrimp
---
systems/x86_64-linux/marvin/services/iceshrimp.nix | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/systems/x86_64-linux/marvin/services/iceshrimp.nix b/systems/x86_64-linux/marvin/services/iceshrimp.nix
index ce89eb95..7bc31160 100644
--- a/systems/x86_64-linux/marvin/services/iceshrimp.nix
+++ b/systems/x86_64-linux/marvin/services/iceshrimp.nix
@@ -10,10 +10,10 @@ let
d = lib.py.data.services.iceshrimp;
package = inputs.iceshrimp.packages.x86_64-linux.iceshrimp-pre.overrideAttrs rec {
- version = "2023.12.7-pyrox2";
+ version = "2023.12.7-pyrox3";
src = pkgs.fetchgit {
url = "https://iceshrimp.dev/pyrox/iceshrimp";
- sha256 = "sha256-eoaStlM5amVRDS5oRSgTyJ/Zjgy1fK7My5jmq2rnbzQ=";
+ sha256 = "sha256-V98On2QFfLA6TazZZYsga0YdPIz+OzZQb290xx1nXvg=";
rev = "v${version}";
fetchLFS = true;
};
--
2.51.2
From b5301ad3c018d6ddf52ebc9d352926e37da6c698 Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Sat, 8 Jun 2024 12:28:23 -0400
Subject: [PATCH 100/105] [systems.prefect] Fix eval errors
---
systems/x86_64-linux/prefect/default.nix | 2 ++
systems/x86_64-linux/prefect/dn42/bgp.nix | 1 +
systems/x86_64-linux/prefect/services/caddy.nix | 5 +++--
3 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/systems/x86_64-linux/prefect/default.nix b/systems/x86_64-linux/prefect/default.nix
index 16b98ca9..0c9eaf7a 100644
--- a/systems/x86_64-linux/prefect/default.nix
+++ b/systems/x86_64-linux/prefect/default.nix
@@ -2,6 +2,7 @@
{
imports = [
# Machine-specific configurations.
+ ./bootloader.nix
./firewall.nix
./networking.nix
./hardware.nix
@@ -37,4 +38,5 @@
programs.fish.interactiveShellInit = ''
${pkgs.direnv}/bin/direnv hook fish | source
'';
+ py.users.default.enable = true;
}
diff --git a/systems/x86_64-linux/prefect/dn42/bgp.nix b/systems/x86_64-linux/prefect/dn42/bgp.nix
index 9d9f79ef..b83043fa 100644
--- a/systems/x86_64-linux/prefect/dn42/bgp.nix
+++ b/systems/x86_64-linux/prefect/dn42/bgp.nix
@@ -1,3 +1,4 @@
+{ ... }:
{
sessions = [
# Lutoma
diff --git a/systems/x86_64-linux/prefect/services/caddy.nix b/systems/x86_64-linux/prefect/services/caddy.nix
index 24e47cc9..e7ebf6f2 100644
--- a/systems/x86_64-linux/prefect/services/caddy.nix
+++ b/systems/x86_64-linux/prefect/services/caddy.nix
@@ -1,7 +1,8 @@
-{pkgs, ...}: {
+{ pkgs, ... }:
+{
services.caddy = {
enable = true;
- package = pkgs.callPackage ../../../pkgs/caddyBin.nix {};
+ package = pkgs.py.caddy;
configFile = ./Caddyfile;
adapter = "caddyfile";
};
--
2.51.2
From 5aeee6afdd5480a3c8f2128c9f09f98058a8e0e7 Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Sat, 8 Jun 2024 12:58:51 -0400
Subject: [PATCH 101/105] [homes] Add prefect users
---
homes/x86_64-linux/pyrox@prefect | 1 +
homes/x86_64-linux/thehedgehog@prefect | 1 +
2 files changed, 2 insertions(+)
create mode 120000 homes/x86_64-linux/pyrox@prefect
create mode 120000 homes/x86_64-linux/thehedgehog@prefect
diff --git a/homes/x86_64-linux/pyrox@prefect b/homes/x86_64-linux/pyrox@prefect
new file mode 120000
index 00000000..2980772c
--- /dev/null
+++ b/homes/x86_64-linux/pyrox@prefect
@@ -0,0 +1 @@
+pyrox@marvin
\ No newline at end of file
diff --git a/homes/x86_64-linux/thehedgehog@prefect b/homes/x86_64-linux/thehedgehog@prefect
new file mode 120000
index 00000000..7c174aaf
--- /dev/null
+++ b/homes/x86_64-linux/thehedgehog@prefect
@@ -0,0 +1 @@
+thehedgehog@marvin
\ No newline at end of file
--
2.51.2
From 7e1bbc046c2350526f3295f618676a87bcde08ad Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Sat, 8 Jun 2024 12:59:02 -0400
Subject: [PATCH 102/105] [systems] Fix thought configuration
---
systems/x86_64-linux/thought/default.nix | 1 +
1 file changed, 1 insertion(+)
diff --git a/systems/x86_64-linux/thought/default.nix b/systems/x86_64-linux/thought/default.nix
index 4aa1924f..a4d2f966 100644
--- a/systems/x86_64-linux/thought/default.nix
+++ b/systems/x86_64-linux/thought/default.nix
@@ -2,6 +2,7 @@
{
imports = [
# Machine-specific configurations.
+ ./bootloader.nix
./firewall.nix
./networking.nix
./hardware.nix
--
2.51.2
From 9388568c6f8b8a8d48e8a2a83e16ed03ca0886e3 Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Sat, 8 Jun 2024 12:59:11 -0400
Subject: [PATCH 103/105] [lib.data] Add cache service
---
lib/data/services.toml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lib/data/services.toml b/lib/data/services.toml
index 3e76d9b2..b885639b 100644
--- a/lib/data/services.toml
+++ b/lib/data/services.toml
@@ -12,6 +12,11 @@ port = 6915
host = "marvin"
extUrl = "buildbot.pyrox.dev"
+[cache]
+port = 6900
+host = "marvin"
+extUrl = "cache.coelacanth-dragon.ts.net"
+
[deemix]
port = 6907
host = "marvin"
--
2.51.2
From e423e7181f8c038ed5f9c0663dd890bf2557c399 Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Sat, 8 Jun 2024 13:03:42 -0400
Subject: [PATCH 104/105] [systems.prefect] Update
---
homes/x86_64-linux/pyrox@prefect | 1 -
homes/x86_64-linux/pyrox@prefect/default.nix | 10 ++++++++++
homes/x86_64-linux/thehedgehog@prefect | 1 -
homes/x86_64-linux/thehedgehog@prefect/default.nix | 10 ++++++++++
systems/x86_64-linux/prefect/default.nix | 8 +++++++-
5 files changed, 27 insertions(+), 3 deletions(-)
delete mode 120000 homes/x86_64-linux/pyrox@prefect
create mode 100644 homes/x86_64-linux/pyrox@prefect/default.nix
delete mode 120000 homes/x86_64-linux/thehedgehog@prefect
create mode 100644 homes/x86_64-linux/thehedgehog@prefect/default.nix
diff --git a/homes/x86_64-linux/pyrox@prefect b/homes/x86_64-linux/pyrox@prefect
deleted file mode 120000
index 2980772c..00000000
--- a/homes/x86_64-linux/pyrox@prefect
+++ /dev/null
@@ -1 +0,0 @@
-pyrox@marvin
\ No newline at end of file
diff --git a/homes/x86_64-linux/pyrox@prefect/default.nix b/homes/x86_64-linux/pyrox@prefect/default.nix
new file mode 100644
index 00000000..dd1919dd
--- /dev/null
+++ b/homes/x86_64-linux/pyrox@prefect/default.nix
@@ -0,0 +1,10 @@
+{ osConfig, ... }:
+{
+ snowfallorg.user = {
+ enable = true;
+ };
+ home.stateVersion = osConfig.system.stateVersion;
+ py = {
+ profiles.server.enable = true;
+ };
+}
diff --git a/homes/x86_64-linux/thehedgehog@prefect b/homes/x86_64-linux/thehedgehog@prefect
deleted file mode 120000
index 7c174aaf..00000000
--- a/homes/x86_64-linux/thehedgehog@prefect
+++ /dev/null
@@ -1 +0,0 @@
-thehedgehog@marvin
\ No newline at end of file
diff --git a/homes/x86_64-linux/thehedgehog@prefect/default.nix b/homes/x86_64-linux/thehedgehog@prefect/default.nix
new file mode 100644
index 00000000..dd1919dd
--- /dev/null
+++ b/homes/x86_64-linux/thehedgehog@prefect/default.nix
@@ -0,0 +1,10 @@
+{ osConfig, ... }:
+{
+ snowfallorg.user = {
+ enable = true;
+ };
+ home.stateVersion = osConfig.system.stateVersion;
+ py = {
+ profiles.server.enable = true;
+ };
+}
diff --git a/systems/x86_64-linux/prefect/default.nix b/systems/x86_64-linux/prefect/default.nix
index 0c9eaf7a..2f50b107 100644
--- a/systems/x86_64-linux/prefect/default.nix
+++ b/systems/x86_64-linux/prefect/default.nix
@@ -38,5 +38,11 @@
programs.fish.interactiveShellInit = ''
${pkgs.direnv}/bin/direnv hook fish | source
'';
- py.users.default.enable = true;
+ py = {
+ users.default.enable = true;
+ programs = {
+ fish.enable = true;
+ neovim.enable = true;
+ };
+ };
}
--
2.51.2
From cb74c98f86a62e1657dbba56bd0e8494adc3c0f7 Mon Sep 17 00:00:00 2001
From: Pyrox
Date: Sat, 8 Jun 2024 13:22:22 -0400
Subject: [PATCH 105/105] [prefect.bgp] Remove unused or inactive dn42 peers
---
systems/x86_64-linux/prefect/dn42/bgp.nix | 39 -------
systems/x86_64-linux/prefect/dn42/tunnels.nix | 110 ++++++++++--------
2 files changed, 62 insertions(+), 87 deletions(-)
diff --git a/systems/x86_64-linux/prefect/dn42/bgp.nix b/systems/x86_64-linux/prefect/dn42/bgp.nix
index b83043fa..f5df4cf1 100644
--- a/systems/x86_64-linux/prefect/dn42/bgp.nix
+++ b/systems/x86_64-linux/prefect/dn42/bgp.nix
@@ -1,25 +1,6 @@
{ ... }:
{
sessions = [
- # Lutoma
- # {
- # multi = true;
- # multihop = false;
- # gracefulRestart = true;
- # name = "lutoma";
- # neigh = "fe80::acab%wg42_lutoma";
- # as = "64719";
- # link = "3";
- # }
- # {
- # multi = true;
- # multihop = false;
- # gracefulRestart = true;
- # name = "JK-Network";
- # neigh = "fe80::2717%wg42_jknet";
- # as = "4242422717";
- # link = "2";
- # }
# Chrismoos
{
multi = true;
@@ -40,16 +21,6 @@
as = "4242423914";
link = "3";
}
- #Liki.link
- {
- multi = true;
- multihop = false;
- gracefulRestart = true;
- name = "liki";
- neigh = "fe80::927%wg42_liki";
- as = "4242420927";
- link = "5";
- }
# IEDON
{
multi = true;
@@ -80,16 +51,6 @@
as = "4242421411";
link = "6";
}
- # USMAN
- {
- multi = true;
- multihop = false;
- gracefulRestart = true;
- name = "usman";
- neigh = "172.22.132.166";
- as = "4242421869";
- link = "5";
- }
# Potat0
{
multi = true;
diff --git a/systems/x86_64-linux/prefect/dn42/tunnels.nix b/systems/x86_64-linux/prefect/dn42/tunnels.nix
index 62504372..046e065f 100644
--- a/systems/x86_64-linux/prefect/dn42/tunnels.nix
+++ b/systems/x86_64-linux/prefect/dn42/tunnels.nix
@@ -1,72 +1,86 @@
-{
- tunnel,
- ...
-}: let
+{ tunnel, ... }:
+let
# deadnix: skip
defaultPubKey = "e6kp9sca4XIzncKa9GEQwyOnMjje299Xg9ZdgXWMwHg=";
defaultPrivKeyFile = "/run/agenix/dn42-privkey";
defaultLocalIPv4 = "172.20.43.96";
-in {
- wg42_lutoma =
- tunnel 485 defaultPrivKeyFile "PVrvKh7MAkLfCdO2u1t6WqAsAMw1afeQ8OewdL/K2Cw="
- defaultLocalIPv4 "fe80::1" "us-nyc.dn42.lutoma.org:42518" "wg42_lutoma"
- "172.22.119.10" "fe80::acab";
-
- # wg42_jknet = tunnel 486 defaultPrivKeyFile "1LJ2PBEUOa7uwqnHS3j2EGVW+wKv/d1L6mbnA0tOjU0=" defaultLocalIPv4 defaultLocalIPv6 "use.vm.whojk.com:42518" "wg42_jknet" "172.22.66.95" "fe80::2717";
-
+in
+{
wg42_chris =
- tunnel 487 defaultPrivKeyFile "itmJ4Z8V1aNN368P6kMzuQM+GdzWbBKZjJiXrgSeGlw="
- defaultLocalIPv4 "fe80::100" "us-qas01.dn42.tech9.io:52322" "wg42_chris"
- "172.20.16.143" "fe80::1588";
+ # Ports 485-486 available
- wg42_kioubit =
- tunnel 488 defaultPrivKeyFile "6Cylr9h1xFduAO+5nyXhFI1XJ0+Sw9jCpCDvcqErF1s="
- defaultLocalIPv4 "fe80::3" "us2.g-load.eu:22459" "wg42_kioubit"
- "172.20.53.98" "fe80::ade0";
+ tunnel 487 defaultPrivKeyFile "itmJ4Z8V1aNN368P6kMzuQM+GdzWbBKZjJiXrgSeGlw=" defaultLocalIPv4
+ "fe80::100"
+ "us-qas01.dn42.tech9.io:52322"
+ "wg42_chris"
+ "172.20.16.143"
+ "fe80::1588";
- wg42_liki =
- tunnel 489 defaultPrivKeyFile "VetpYNyAVk7S5V5d634xJFvNd0f/kRweFejfAYB1Z3k="
- defaultLocalIPv4 "fe80::4" "fm1.dn42.liki.link:42438" "wg42_liki"
- "172.21.77.35" "fe80::927";
+ wg42_kioubit =
+ tunnel 488 defaultPrivKeyFile "6Cylr9h1xFduAO+5nyXhFI1XJ0+Sw9jCpCDvcqErF1s=" defaultLocalIPv4
+ "fe80::3"
+ "us2.g-load.eu:22459"
+ "wg42_kioubit"
+ "172.20.53.98"
+ "fe80::ade0";
- # Port 490 available
+ # Ports 489-490 available
wg42_iedon =
- tunnel 491 defaultPrivKeyFile "Sz0UhewjDk2yRKI0QL9rB+5daWpXFVlbbz9cLfVVLn4="
- defaultLocalIPv4 "fe80::6" "us-sjc.dn42.kuu.moe:35470" "wg42_iedon"
- "172.23.91.117" "fe80::2189:e8";
+ tunnel 491 defaultPrivKeyFile "Sz0UhewjDk2yRKI0QL9rB+5daWpXFVlbbz9cLfVVLn4=" defaultLocalIPv4
+ "fe80::6"
+ "us-sjc.dn42.kuu.moe:35470"
+ "wg42_iedon"
+ "172.23.91.117"
+ "fe80::2189:e8";
wg42_sunnet =
- tunnel 492 defaultPrivKeyFile "wAI2D+0GeBnFUqm3xZsfvVlfGQ5iDWI/BykEBbkc62c="
- defaultLocalIPv4 "fe80::abcd" "nyc1-us.dn42.6700.cc:22459" "wg42_sunnet"
- "172.21.100.194" "fe80::3088:194";
+ tunnel 492 defaultPrivKeyFile "wAI2D+0GeBnFUqm3xZsfvVlfGQ5iDWI/BykEBbkc62c=" defaultLocalIPv4
+ "fe80::abcd"
+ "nyc1-us.dn42.6700.cc:22459"
+ "wg42_sunnet"
+ "172.21.100.194"
+ "fe80::3088:194";
wg42_catgirls =
- tunnel 493 defaultPrivKeyFile "jo8eAfY8LeA4FAEJ4laYYMNkMd4z3oO/zN5DN0Mo+RQ="
- defaultLocalIPv4 "fe80::7" "karx.xyz:22459" "wg42_catgirls" "" "fe80::4242";
+ tunnel 493 defaultPrivKeyFile "jo8eAfY8LeA4FAEJ4laYYMNkMd4z3oO/zN5DN0Mo+RQ=" defaultLocalIPv4
+ "fe80::7"
+ "karx.xyz:22459"
+ "wg42_catgirls"
+ ""
+ "fe80::4242";
- wg42_usman =
- tunnel 494 defaultPrivKeyFile "qwjXj/6R9ThUnqeOAYN+MxM6CbIgzjS8WFDdXuyEpHY="
- defaultLocalIPv4 "fe80::8" "fr-lil1.dn42.usman.network:51459" "wg42_usman"
- "172.22.132.166" "";
+ # Port 494 Available
wg42_potato =
- tunnel 495 defaultPrivKeyFile "LUwqKS6QrCPv510Pwt1eAIiHACYDsbMjrkrbGTJfviU="
- defaultLocalIPv4 "fe80::9" "us1.dn42.potat0.cc:22459" "wg42_potato" ""
- "fe80::1816";
+ tunnel 495 defaultPrivKeyFile "LUwqKS6QrCPv510Pwt1eAIiHACYDsbMjrkrbGTJfviU=" defaultLocalIPv4
+ "fe80::9"
+ "us1.dn42.potat0.cc:22459"
+ "wg42_potato"
+ ""
+ "fe80::1816";
wg42_uffsalot =
- tunnel 496 defaultPrivKeyFile "7V65FxvD9AQetyUr0qSiu+ik8samB4Atrw2ekvC0xQM="
- defaultLocalIPv4 "fe80::10" "dn42-de-fra4.brand-web.net:42459"
- "wg42_uffsalot" "172.20.191.129" "fe80::780";
+ tunnel 496 defaultPrivKeyFile "7V65FxvD9AQetyUr0qSiu+ik8samB4Atrw2ekvC0xQM=" defaultLocalIPv4
+ "fe80::10"
+ "dn42-de-fra4.brand-web.net:42459"
+ "wg42_uffsalot"
+ "172.20.191.129"
+ "fe80::780";
wg42_bandura =
- tunnel 497 defaultPrivKeyFile "xPW1/cWYDkk/IAss1GbdwVMW7fzKtyHA+qrfCriOB2k="
- defaultLocalIPv4 "fe80::11" "aurora.mk16.de:52459" "wg42_bandura" ""
- "fe80::2926";
+ tunnel 497 defaultPrivKeyFile "xPW1/cWYDkk/IAss1GbdwVMW7fzKtyHA+qrfCriOB2k=" defaultLocalIPv4
+ "fe80::11"
+ "aurora.mk16.de:52459"
+ "wg42_bandura"
+ ""
+ "fe80::2926";
wg42_bluemedia =
- tunnel 498 defaultPrivKeyFile "7HNg2+uMI2WfntN+WlMnlTDG6xra/Dusee82cuXWMBY="
- defaultLocalIPv4 "fe80::12" "de-fra01.dn42.bluemedia.dev:22459"
- "wg42_bluemedia" "172.22.167.82" "fe80::42:3343:20:1";
+ tunnel 498 defaultPrivKeyFile "7HNg2+uMI2WfntN+WlMnlTDG6xra/Dusee82cuXWMBY=" defaultLocalIPv4
+ "fe80::12"
+ "de-fra01.dn42.bluemedia.dev:22459"
+ "wg42_bluemedia"
+ "172.22.167.82"
+ "fe80::42:3343:20:1";
}