From 5ba5d55108e6b4d5b75bac0fffb1a68aa1ef154b Mon Sep 17 00:00:00 2001 From: Chris Kruining Date: Wed, 23 Jul 2025 10:03:10 +0200 Subject: [PATCH] started migration to snowfall --- {hosts => _hosts}/aule/README.md | 0 {hosts => _hosts}/manwe/README.md | 0 {hosts => _hosts}/manwe/default.nix | 0 {hosts => _hosts}/manwe/hardware.nix | 0 .../manwe/users/chris/default.nix | 0 {hosts => _hosts}/orome/README.md | 0 {hosts => _hosts}/orome/default.nix | 0 {hosts => _hosts}/orome/hardware.nix | 0 .../orome/users/chris/default.nix | 0 {hosts => _hosts}/tulkas/README.md | 0 {hosts => _hosts}/tulkas/default.nix | 0 {hosts => _hosts}/tulkas/hardware.nix | 0 .../tulkas/users/chris/default.nix | 0 {hosts => _hosts}/ulmo/README.md | 0 {hosts => _hosts}/ulmo/default.nix | 0 {hosts => _hosts}/ulmo/hardware.nix | 0 {lib => _lib}/attrs.nix | 0 {lib => _lib}/default.nix | 0 {lib => _lib}/modules.nix | 0 {lib => _lib}/nixos.nix | 0 {lib => _lib}/options.nix | 0 {lib => _lib}/user.nix | 0 .../desktop/applications/communication.nix | 0 .../home/desktop/applications/email.nix | 0 .../home/desktop/applications/office.nix | 0 .../home/desktop/applications/passwords.nix | 0 .../home/desktop/applications/recording.nix | 0 .../home/desktop/applications/steam.nix | 0 .../home/desktop/applications/studio.nix | 0 .../home/desktop/browsers/chrome.nix | 0 .../home/desktop/browsers/default.nix | 0 .../home/desktop/browsers/firefox.nix | 0 .../home/desktop/browsers/ladybird.nix | 0 .../home/desktop/browsers/zen.nix | 0 .../home/desktop/default.nix | 0 .../home/desktop/editors/default.nix | 0 .../home/desktop/editors/kate.nix | 0 .../home/desktop/editors/nano.nix | 0 .../home/desktop/editors/nvim.nix | 0 .../home/desktop/editors/vscodium.nix | 0 .../home/desktop/editors/zed.nix | 0 .../home/desktop/games/default.nix | 0 .../home/desktop/games/minecraft.nix | 0 {modules => _modules}/home/desktop/plasma.nix | 0 .../home/desktop/terminal/alacritty.nix | 0 .../home/desktop/terminal/default.nix | 0 .../home/desktop/terminal/ghostty.nix | 0 .../home/develop/default.nix | 0 {modules => _modules}/home/develop/dotnet.nix | 0 {modules => _modules}/home/develop/js.nix | 0 {modules => _modules}/home/develop/rust.nix | 0 {modules => _modules}/home/shell/default.nix | 0 .../home/shell/toolset/bat.nix | 0 .../home/shell/toolset/btop.nix | 0 .../home/shell/toolset/eza.nix | 0 .../home/shell/toolset/fzf.nix | 0 .../home/shell/toolset/git.nix | 0 .../home/shell/toolset/gnupg.nix | 0 .../home/shell/toolset/starship.nix | 0 .../home/shell/toolset/tmux.nix | 0 .../home/shell/toolset/yazi.nix | 0 .../home/shell/toolset/zellij.nix | 0 .../home/shell/toolset/zoxide.nix | 0 {modules => _modules}/home/shell/zsh.nix | 0 .../home/themes/catppuccin-latte.jpg | Bin {modules => _modules}/home/themes/default.nix | 0 .../home/themes/everforest.jpg | Bin {modules => _modules}/home/user.nix | 0 {modules => _modules}/home/xgd.nix | 0 .../system/authentication/himmelblau.nix | 0 {modules => _modules}/system/boot.nix | 0 .../system/common/qbittorrent.nix | 0 .../system/desktop/editors/nvim.nix | 0 .../system/desktop/gaming.nix | 0 {modules => _modules}/system/desktop/wine.nix | 0 {modules => _modules}/system/graphics.nix | 0 .../system/networking/default.nix | 0 .../system/networking/nfs.nix | 0 .../system/networking/samba.nix | 0 .../system/networking/ssh.nix | 0 {modules => _modules}/system/options.nix | 0 {modules => _modules}/system/security.nix | 0 .../system/services/auth/authelia.nix | 0 .../system/services/auth/zitadel.nix | 0 .../system/services/default.nix | 0 .../system/services/games/minecraft.nix | 0 .../system/services/games/palworld.nix | 0 .../system/services/media.nix | 0 .../system/services/nextcloud.nix | 0 .../system/services/security.nix | 0 .../system/shell/default.nix | 0 {modules => _modules}/system/shell/zsh.nix | 0 {modules => _modules}/system/system/audio.nix | 0 .../system/system/bluetooth.nix | 0 {modules => _modules}/system/theming.nix | 0 .../system/virtualisation/default.nix | 0 .../system/virtualisation/podman.nix | 0 {modules => _modules}/system/zsa_voyager.nix | 0 {secrets => _secrets}/secrets.yaml | 0 flake.nix | 81 +++++++++++------- 100 files changed, 49 insertions(+), 32 deletions(-) rename {hosts => _hosts}/aule/README.md (100%) rename {hosts => _hosts}/manwe/README.md (100%) rename {hosts => _hosts}/manwe/default.nix (100%) rename {hosts => _hosts}/manwe/hardware.nix (100%) rename {hosts => _hosts}/manwe/users/chris/default.nix (100%) rename {hosts => _hosts}/orome/README.md (100%) rename {hosts => _hosts}/orome/default.nix (100%) rename {hosts => _hosts}/orome/hardware.nix (100%) rename {hosts => _hosts}/orome/users/chris/default.nix (100%) rename {hosts => _hosts}/tulkas/README.md (100%) rename {hosts => _hosts}/tulkas/default.nix (100%) rename {hosts => _hosts}/tulkas/hardware.nix (100%) rename {hosts => _hosts}/tulkas/users/chris/default.nix (100%) rename {hosts => _hosts}/ulmo/README.md (100%) rename {hosts => _hosts}/ulmo/default.nix (100%) rename {hosts => _hosts}/ulmo/hardware.nix (100%) rename {lib => _lib}/attrs.nix (100%) rename {lib => _lib}/default.nix (100%) rename {lib => _lib}/modules.nix (100%) rename {lib => _lib}/nixos.nix (100%) rename {lib => _lib}/options.nix (100%) rename {lib => _lib}/user.nix (100%) rename {modules => _modules}/home/desktop/applications/communication.nix (100%) rename {modules => _modules}/home/desktop/applications/email.nix (100%) rename {modules => _modules}/home/desktop/applications/office.nix (100%) rename {modules => _modules}/home/desktop/applications/passwords.nix (100%) rename {modules => _modules}/home/desktop/applications/recording.nix (100%) rename {modules => _modules}/home/desktop/applications/steam.nix (100%) rename {modules => _modules}/home/desktop/applications/studio.nix (100%) rename {modules => _modules}/home/desktop/browsers/chrome.nix (100%) rename {modules => _modules}/home/desktop/browsers/default.nix (100%) rename {modules => _modules}/home/desktop/browsers/firefox.nix (100%) rename {modules => _modules}/home/desktop/browsers/ladybird.nix (100%) rename {modules => _modules}/home/desktop/browsers/zen.nix (100%) rename {modules => _modules}/home/desktop/default.nix (100%) rename {modules => _modules}/home/desktop/editors/default.nix (100%) rename {modules => _modules}/home/desktop/editors/kate.nix (100%) rename {modules => _modules}/home/desktop/editors/nano.nix (100%) rename {modules => _modules}/home/desktop/editors/nvim.nix (100%) rename {modules => _modules}/home/desktop/editors/vscodium.nix (100%) rename {modules => _modules}/home/desktop/editors/zed.nix (100%) rename {modules => _modules}/home/desktop/games/default.nix (100%) rename {modules => _modules}/home/desktop/games/minecraft.nix (100%) rename {modules => _modules}/home/desktop/plasma.nix (100%) rename {modules => _modules}/home/desktop/terminal/alacritty.nix (100%) rename {modules => _modules}/home/desktop/terminal/default.nix (100%) rename {modules => _modules}/home/desktop/terminal/ghostty.nix (100%) rename {modules => _modules}/home/develop/default.nix (100%) rename {modules => _modules}/home/develop/dotnet.nix (100%) rename {modules => _modules}/home/develop/js.nix (100%) rename {modules => _modules}/home/develop/rust.nix (100%) rename {modules => _modules}/home/shell/default.nix (100%) rename {modules => _modules}/home/shell/toolset/bat.nix (100%) rename {modules => _modules}/home/shell/toolset/btop.nix (100%) rename {modules => _modules}/home/shell/toolset/eza.nix (100%) rename {modules => _modules}/home/shell/toolset/fzf.nix (100%) rename {modules => _modules}/home/shell/toolset/git.nix (100%) rename {modules => _modules}/home/shell/toolset/gnupg.nix (100%) rename {modules => _modules}/home/shell/toolset/starship.nix (100%) rename {modules => _modules}/home/shell/toolset/tmux.nix (100%) rename {modules => _modules}/home/shell/toolset/yazi.nix (100%) rename {modules => _modules}/home/shell/toolset/zellij.nix (100%) rename {modules => _modules}/home/shell/toolset/zoxide.nix (100%) rename {modules => _modules}/home/shell/zsh.nix (100%) rename {modules => _modules}/home/themes/catppuccin-latte.jpg (100%) rename {modules => _modules}/home/themes/default.nix (100%) rename {modules => _modules}/home/themes/everforest.jpg (100%) rename {modules => _modules}/home/user.nix (100%) rename {modules => _modules}/home/xgd.nix (100%) rename {modules => _modules}/system/authentication/himmelblau.nix (100%) rename {modules => _modules}/system/boot.nix (100%) rename {modules => _modules}/system/common/qbittorrent.nix (100%) rename {modules => _modules}/system/desktop/editors/nvim.nix (100%) rename {modules => _modules}/system/desktop/gaming.nix (100%) rename {modules => _modules}/system/desktop/wine.nix (100%) rename {modules => _modules}/system/graphics.nix (100%) rename {modules => _modules}/system/networking/default.nix (100%) rename {modules => _modules}/system/networking/nfs.nix (100%) rename {modules => _modules}/system/networking/samba.nix (100%) rename {modules => _modules}/system/networking/ssh.nix (100%) rename {modules => _modules}/system/options.nix (100%) rename {modules => _modules}/system/security.nix (100%) rename {modules => _modules}/system/services/auth/authelia.nix (100%) rename {modules => _modules}/system/services/auth/zitadel.nix (100%) rename {modules => _modules}/system/services/default.nix (100%) rename {modules => _modules}/system/services/games/minecraft.nix (100%) rename {modules => _modules}/system/services/games/palworld.nix (100%) rename {modules => _modules}/system/services/media.nix (100%) rename {modules => _modules}/system/services/nextcloud.nix (100%) rename {modules => _modules}/system/services/security.nix (100%) rename {modules => _modules}/system/shell/default.nix (100%) rename {modules => _modules}/system/shell/zsh.nix (100%) rename {modules => _modules}/system/system/audio.nix (100%) rename {modules => _modules}/system/system/bluetooth.nix (100%) rename {modules => _modules}/system/theming.nix (100%) rename {modules => _modules}/system/virtualisation/default.nix (100%) rename {modules => _modules}/system/virtualisation/podman.nix (100%) rename {modules => _modules}/system/zsa_voyager.nix (100%) rename {secrets => _secrets}/secrets.yaml (100%) diff --git a/hosts/aule/README.md b/_hosts/aule/README.md similarity index 100% rename from hosts/aule/README.md rename to _hosts/aule/README.md diff --git a/hosts/manwe/README.md b/_hosts/manwe/README.md similarity index 100% rename from hosts/manwe/README.md rename to _hosts/manwe/README.md diff --git a/hosts/manwe/default.nix b/_hosts/manwe/default.nix similarity index 100% rename from hosts/manwe/default.nix rename to _hosts/manwe/default.nix diff --git a/hosts/manwe/hardware.nix b/_hosts/manwe/hardware.nix similarity index 100% rename from hosts/manwe/hardware.nix rename to _hosts/manwe/hardware.nix diff --git a/hosts/manwe/users/chris/default.nix b/_hosts/manwe/users/chris/default.nix similarity index 100% rename from hosts/manwe/users/chris/default.nix rename to _hosts/manwe/users/chris/default.nix diff --git a/hosts/orome/README.md b/_hosts/orome/README.md similarity index 100% rename from hosts/orome/README.md rename to _hosts/orome/README.md diff --git a/hosts/orome/default.nix b/_hosts/orome/default.nix similarity index 100% rename from hosts/orome/default.nix rename to _hosts/orome/default.nix diff --git a/hosts/orome/hardware.nix b/_hosts/orome/hardware.nix similarity index 100% rename from hosts/orome/hardware.nix rename to _hosts/orome/hardware.nix diff --git a/hosts/orome/users/chris/default.nix b/_hosts/orome/users/chris/default.nix similarity index 100% rename from hosts/orome/users/chris/default.nix rename to _hosts/orome/users/chris/default.nix diff --git a/hosts/tulkas/README.md b/_hosts/tulkas/README.md similarity index 100% rename from hosts/tulkas/README.md rename to _hosts/tulkas/README.md diff --git a/hosts/tulkas/default.nix b/_hosts/tulkas/default.nix similarity index 100% rename from hosts/tulkas/default.nix rename to _hosts/tulkas/default.nix diff --git a/hosts/tulkas/hardware.nix b/_hosts/tulkas/hardware.nix similarity index 100% rename from hosts/tulkas/hardware.nix rename to _hosts/tulkas/hardware.nix diff --git a/hosts/tulkas/users/chris/default.nix b/_hosts/tulkas/users/chris/default.nix similarity index 100% rename from hosts/tulkas/users/chris/default.nix rename to _hosts/tulkas/users/chris/default.nix diff --git a/hosts/ulmo/README.md b/_hosts/ulmo/README.md similarity index 100% rename from hosts/ulmo/README.md rename to _hosts/ulmo/README.md diff --git a/hosts/ulmo/default.nix b/_hosts/ulmo/default.nix similarity index 100% rename from hosts/ulmo/default.nix rename to _hosts/ulmo/default.nix diff --git a/hosts/ulmo/hardware.nix b/_hosts/ulmo/hardware.nix similarity index 100% rename from hosts/ulmo/hardware.nix rename to _hosts/ulmo/hardware.nix diff --git a/lib/attrs.nix b/_lib/attrs.nix similarity index 100% rename from lib/attrs.nix rename to _lib/attrs.nix diff --git a/lib/default.nix b/_lib/default.nix similarity index 100% rename from lib/default.nix rename to _lib/default.nix diff --git a/lib/modules.nix b/_lib/modules.nix similarity index 100% rename from lib/modules.nix rename to _lib/modules.nix diff --git a/lib/nixos.nix b/_lib/nixos.nix similarity index 100% rename from lib/nixos.nix rename to _lib/nixos.nix diff --git a/lib/options.nix b/_lib/options.nix similarity index 100% rename from lib/options.nix rename to _lib/options.nix diff --git a/lib/user.nix b/_lib/user.nix similarity index 100% rename from lib/user.nix rename to _lib/user.nix diff --git a/modules/home/desktop/applications/communication.nix b/_modules/home/desktop/applications/communication.nix similarity index 100% rename from modules/home/desktop/applications/communication.nix rename to _modules/home/desktop/applications/communication.nix diff --git a/modules/home/desktop/applications/email.nix b/_modules/home/desktop/applications/email.nix similarity index 100% rename from modules/home/desktop/applications/email.nix rename to _modules/home/desktop/applications/email.nix diff --git a/modules/home/desktop/applications/office.nix b/_modules/home/desktop/applications/office.nix similarity index 100% rename from modules/home/desktop/applications/office.nix rename to _modules/home/desktop/applications/office.nix diff --git a/modules/home/desktop/applications/passwords.nix b/_modules/home/desktop/applications/passwords.nix similarity index 100% rename from modules/home/desktop/applications/passwords.nix rename to _modules/home/desktop/applications/passwords.nix diff --git a/modules/home/desktop/applications/recording.nix b/_modules/home/desktop/applications/recording.nix similarity index 100% rename from modules/home/desktop/applications/recording.nix rename to _modules/home/desktop/applications/recording.nix diff --git a/modules/home/desktop/applications/steam.nix b/_modules/home/desktop/applications/steam.nix similarity index 100% rename from modules/home/desktop/applications/steam.nix rename to _modules/home/desktop/applications/steam.nix diff --git a/modules/home/desktop/applications/studio.nix b/_modules/home/desktop/applications/studio.nix similarity index 100% rename from modules/home/desktop/applications/studio.nix rename to _modules/home/desktop/applications/studio.nix diff --git a/modules/home/desktop/browsers/chrome.nix b/_modules/home/desktop/browsers/chrome.nix similarity index 100% rename from modules/home/desktop/browsers/chrome.nix rename to _modules/home/desktop/browsers/chrome.nix diff --git a/modules/home/desktop/browsers/default.nix b/_modules/home/desktop/browsers/default.nix similarity index 100% rename from modules/home/desktop/browsers/default.nix rename to _modules/home/desktop/browsers/default.nix diff --git a/modules/home/desktop/browsers/firefox.nix b/_modules/home/desktop/browsers/firefox.nix similarity index 100% rename from modules/home/desktop/browsers/firefox.nix rename to _modules/home/desktop/browsers/firefox.nix diff --git a/modules/home/desktop/browsers/ladybird.nix b/_modules/home/desktop/browsers/ladybird.nix similarity index 100% rename from modules/home/desktop/browsers/ladybird.nix rename to _modules/home/desktop/browsers/ladybird.nix diff --git a/modules/home/desktop/browsers/zen.nix b/_modules/home/desktop/browsers/zen.nix similarity index 100% rename from modules/home/desktop/browsers/zen.nix rename to _modules/home/desktop/browsers/zen.nix diff --git a/modules/home/desktop/default.nix b/_modules/home/desktop/default.nix similarity index 100% rename from modules/home/desktop/default.nix rename to _modules/home/desktop/default.nix diff --git a/modules/home/desktop/editors/default.nix b/_modules/home/desktop/editors/default.nix similarity index 100% rename from modules/home/desktop/editors/default.nix rename to _modules/home/desktop/editors/default.nix diff --git a/modules/home/desktop/editors/kate.nix b/_modules/home/desktop/editors/kate.nix similarity index 100% rename from modules/home/desktop/editors/kate.nix rename to _modules/home/desktop/editors/kate.nix diff --git a/modules/home/desktop/editors/nano.nix b/_modules/home/desktop/editors/nano.nix similarity index 100% rename from modules/home/desktop/editors/nano.nix rename to _modules/home/desktop/editors/nano.nix diff --git a/modules/home/desktop/editors/nvim.nix b/_modules/home/desktop/editors/nvim.nix similarity index 100% rename from modules/home/desktop/editors/nvim.nix rename to _modules/home/desktop/editors/nvim.nix diff --git a/modules/home/desktop/editors/vscodium.nix b/_modules/home/desktop/editors/vscodium.nix similarity index 100% rename from modules/home/desktop/editors/vscodium.nix rename to _modules/home/desktop/editors/vscodium.nix diff --git a/modules/home/desktop/editors/zed.nix b/_modules/home/desktop/editors/zed.nix similarity index 100% rename from modules/home/desktop/editors/zed.nix rename to _modules/home/desktop/editors/zed.nix diff --git a/modules/home/desktop/games/default.nix b/_modules/home/desktop/games/default.nix similarity index 100% rename from modules/home/desktop/games/default.nix rename to _modules/home/desktop/games/default.nix diff --git a/modules/home/desktop/games/minecraft.nix b/_modules/home/desktop/games/minecraft.nix similarity index 100% rename from modules/home/desktop/games/minecraft.nix rename to _modules/home/desktop/games/minecraft.nix diff --git a/modules/home/desktop/plasma.nix b/_modules/home/desktop/plasma.nix similarity index 100% rename from modules/home/desktop/plasma.nix rename to _modules/home/desktop/plasma.nix diff --git a/modules/home/desktop/terminal/alacritty.nix b/_modules/home/desktop/terminal/alacritty.nix similarity index 100% rename from modules/home/desktop/terminal/alacritty.nix rename to _modules/home/desktop/terminal/alacritty.nix diff --git a/modules/home/desktop/terminal/default.nix b/_modules/home/desktop/terminal/default.nix similarity index 100% rename from modules/home/desktop/terminal/default.nix rename to _modules/home/desktop/terminal/default.nix diff --git a/modules/home/desktop/terminal/ghostty.nix b/_modules/home/desktop/terminal/ghostty.nix similarity index 100% rename from modules/home/desktop/terminal/ghostty.nix rename to _modules/home/desktop/terminal/ghostty.nix diff --git a/modules/home/develop/default.nix b/_modules/home/develop/default.nix similarity index 100% rename from modules/home/develop/default.nix rename to _modules/home/develop/default.nix diff --git a/modules/home/develop/dotnet.nix b/_modules/home/develop/dotnet.nix similarity index 100% rename from modules/home/develop/dotnet.nix rename to _modules/home/develop/dotnet.nix diff --git a/modules/home/develop/js.nix b/_modules/home/develop/js.nix similarity index 100% rename from modules/home/develop/js.nix rename to _modules/home/develop/js.nix diff --git a/modules/home/develop/rust.nix b/_modules/home/develop/rust.nix similarity index 100% rename from modules/home/develop/rust.nix rename to _modules/home/develop/rust.nix diff --git a/modules/home/shell/default.nix b/_modules/home/shell/default.nix similarity index 100% rename from modules/home/shell/default.nix rename to _modules/home/shell/default.nix diff --git a/modules/home/shell/toolset/bat.nix b/_modules/home/shell/toolset/bat.nix similarity index 100% rename from modules/home/shell/toolset/bat.nix rename to _modules/home/shell/toolset/bat.nix diff --git a/modules/home/shell/toolset/btop.nix b/_modules/home/shell/toolset/btop.nix similarity index 100% rename from modules/home/shell/toolset/btop.nix rename to _modules/home/shell/toolset/btop.nix diff --git a/modules/home/shell/toolset/eza.nix b/_modules/home/shell/toolset/eza.nix similarity index 100% rename from modules/home/shell/toolset/eza.nix rename to _modules/home/shell/toolset/eza.nix diff --git a/modules/home/shell/toolset/fzf.nix b/_modules/home/shell/toolset/fzf.nix similarity index 100% rename from modules/home/shell/toolset/fzf.nix rename to _modules/home/shell/toolset/fzf.nix diff --git a/modules/home/shell/toolset/git.nix b/_modules/home/shell/toolset/git.nix similarity index 100% rename from modules/home/shell/toolset/git.nix rename to _modules/home/shell/toolset/git.nix diff --git a/modules/home/shell/toolset/gnupg.nix b/_modules/home/shell/toolset/gnupg.nix similarity index 100% rename from modules/home/shell/toolset/gnupg.nix rename to _modules/home/shell/toolset/gnupg.nix diff --git a/modules/home/shell/toolset/starship.nix b/_modules/home/shell/toolset/starship.nix similarity index 100% rename from modules/home/shell/toolset/starship.nix rename to _modules/home/shell/toolset/starship.nix diff --git a/modules/home/shell/toolset/tmux.nix b/_modules/home/shell/toolset/tmux.nix similarity index 100% rename from modules/home/shell/toolset/tmux.nix rename to _modules/home/shell/toolset/tmux.nix diff --git a/modules/home/shell/toolset/yazi.nix b/_modules/home/shell/toolset/yazi.nix similarity index 100% rename from modules/home/shell/toolset/yazi.nix rename to _modules/home/shell/toolset/yazi.nix diff --git a/modules/home/shell/toolset/zellij.nix b/_modules/home/shell/toolset/zellij.nix similarity index 100% rename from modules/home/shell/toolset/zellij.nix rename to _modules/home/shell/toolset/zellij.nix diff --git a/modules/home/shell/toolset/zoxide.nix b/_modules/home/shell/toolset/zoxide.nix similarity index 100% rename from modules/home/shell/toolset/zoxide.nix rename to _modules/home/shell/toolset/zoxide.nix diff --git a/modules/home/shell/zsh.nix b/_modules/home/shell/zsh.nix similarity index 100% rename from modules/home/shell/zsh.nix rename to _modules/home/shell/zsh.nix diff --git a/modules/home/themes/catppuccin-latte.jpg b/_modules/home/themes/catppuccin-latte.jpg similarity index 100% rename from modules/home/themes/catppuccin-latte.jpg rename to _modules/home/themes/catppuccin-latte.jpg diff --git a/modules/home/themes/default.nix b/_modules/home/themes/default.nix similarity index 100% rename from modules/home/themes/default.nix rename to _modules/home/themes/default.nix diff --git a/modules/home/themes/everforest.jpg b/_modules/home/themes/everforest.jpg similarity index 100% rename from modules/home/themes/everforest.jpg rename to _modules/home/themes/everforest.jpg diff --git a/modules/home/user.nix b/_modules/home/user.nix similarity index 100% rename from modules/home/user.nix rename to _modules/home/user.nix diff --git a/modules/home/xgd.nix b/_modules/home/xgd.nix similarity index 100% rename from modules/home/xgd.nix rename to _modules/home/xgd.nix diff --git a/modules/system/authentication/himmelblau.nix b/_modules/system/authentication/himmelblau.nix similarity index 100% rename from modules/system/authentication/himmelblau.nix rename to _modules/system/authentication/himmelblau.nix diff --git a/modules/system/boot.nix b/_modules/system/boot.nix similarity index 100% rename from modules/system/boot.nix rename to _modules/system/boot.nix diff --git a/modules/system/common/qbittorrent.nix b/_modules/system/common/qbittorrent.nix similarity index 100% rename from modules/system/common/qbittorrent.nix rename to _modules/system/common/qbittorrent.nix diff --git a/modules/system/desktop/editors/nvim.nix b/_modules/system/desktop/editors/nvim.nix similarity index 100% rename from modules/system/desktop/editors/nvim.nix rename to _modules/system/desktop/editors/nvim.nix diff --git a/modules/system/desktop/gaming.nix b/_modules/system/desktop/gaming.nix similarity index 100% rename from modules/system/desktop/gaming.nix rename to _modules/system/desktop/gaming.nix diff --git a/modules/system/desktop/wine.nix b/_modules/system/desktop/wine.nix similarity index 100% rename from modules/system/desktop/wine.nix rename to _modules/system/desktop/wine.nix diff --git a/modules/system/graphics.nix b/_modules/system/graphics.nix similarity index 100% rename from modules/system/graphics.nix rename to _modules/system/graphics.nix diff --git a/modules/system/networking/default.nix b/_modules/system/networking/default.nix similarity index 100% rename from modules/system/networking/default.nix rename to _modules/system/networking/default.nix diff --git a/modules/system/networking/nfs.nix b/_modules/system/networking/nfs.nix similarity index 100% rename from modules/system/networking/nfs.nix rename to _modules/system/networking/nfs.nix diff --git a/modules/system/networking/samba.nix b/_modules/system/networking/samba.nix similarity index 100% rename from modules/system/networking/samba.nix rename to _modules/system/networking/samba.nix diff --git a/modules/system/networking/ssh.nix b/_modules/system/networking/ssh.nix similarity index 100% rename from modules/system/networking/ssh.nix rename to _modules/system/networking/ssh.nix diff --git a/modules/system/options.nix b/_modules/system/options.nix similarity index 100% rename from modules/system/options.nix rename to _modules/system/options.nix diff --git a/modules/system/security.nix b/_modules/system/security.nix similarity index 100% rename from modules/system/security.nix rename to _modules/system/security.nix diff --git a/modules/system/services/auth/authelia.nix b/_modules/system/services/auth/authelia.nix similarity index 100% rename from modules/system/services/auth/authelia.nix rename to _modules/system/services/auth/authelia.nix diff --git a/modules/system/services/auth/zitadel.nix b/_modules/system/services/auth/zitadel.nix similarity index 100% rename from modules/system/services/auth/zitadel.nix rename to _modules/system/services/auth/zitadel.nix diff --git a/modules/system/services/default.nix b/_modules/system/services/default.nix similarity index 100% rename from modules/system/services/default.nix rename to _modules/system/services/default.nix diff --git a/modules/system/services/games/minecraft.nix b/_modules/system/services/games/minecraft.nix similarity index 100% rename from modules/system/services/games/minecraft.nix rename to _modules/system/services/games/minecraft.nix diff --git a/modules/system/services/games/palworld.nix b/_modules/system/services/games/palworld.nix similarity index 100% rename from modules/system/services/games/palworld.nix rename to _modules/system/services/games/palworld.nix diff --git a/modules/system/services/media.nix b/_modules/system/services/media.nix similarity index 100% rename from modules/system/services/media.nix rename to _modules/system/services/media.nix diff --git a/modules/system/services/nextcloud.nix b/_modules/system/services/nextcloud.nix similarity index 100% rename from modules/system/services/nextcloud.nix rename to _modules/system/services/nextcloud.nix diff --git a/modules/system/services/security.nix b/_modules/system/services/security.nix similarity index 100% rename from modules/system/services/security.nix rename to _modules/system/services/security.nix diff --git a/modules/system/shell/default.nix b/_modules/system/shell/default.nix similarity index 100% rename from modules/system/shell/default.nix rename to _modules/system/shell/default.nix diff --git a/modules/system/shell/zsh.nix b/_modules/system/shell/zsh.nix similarity index 100% rename from modules/system/shell/zsh.nix rename to _modules/system/shell/zsh.nix diff --git a/modules/system/system/audio.nix b/_modules/system/system/audio.nix similarity index 100% rename from modules/system/system/audio.nix rename to _modules/system/system/audio.nix diff --git a/modules/system/system/bluetooth.nix b/_modules/system/system/bluetooth.nix similarity index 100% rename from modules/system/system/bluetooth.nix rename to _modules/system/system/bluetooth.nix diff --git a/modules/system/theming.nix b/_modules/system/theming.nix similarity index 100% rename from modules/system/theming.nix rename to _modules/system/theming.nix diff --git a/modules/system/virtualisation/default.nix b/_modules/system/virtualisation/default.nix similarity index 100% rename from modules/system/virtualisation/default.nix rename to _modules/system/virtualisation/default.nix diff --git a/modules/system/virtualisation/podman.nix b/_modules/system/virtualisation/podman.nix similarity index 100% rename from modules/system/virtualisation/podman.nix rename to _modules/system/virtualisation/podman.nix diff --git a/modules/system/zsa_voyager.nix b/_modules/system/zsa_voyager.nix similarity index 100% rename from modules/system/zsa_voyager.nix rename to _modules/system/zsa_voyager.nix diff --git a/secrets/secrets.yaml b/_secrets/secrets.yaml similarity index 100% rename from secrets/secrets.yaml rename to _secrets/secrets.yaml diff --git a/flake.nix b/flake.nix index 7275c42..872bf61 100644 --- a/flake.nix +++ b/flake.nix @@ -4,6 +4,11 @@ inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + snowfall-lib = { + url = "github:snowfallorg/lib"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + home-manager = { url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; @@ -49,40 +54,52 @@ }; }; - outputs = inputs @ { self, nixpkgs, nix-minecraft, flux, ... }: - let - inherit (lib.my) readNixosModules mapHosts; + outputs = inputs: inputs.snowfall-lib.mkFlake { + inherit inputs; + src = ./.; - system = "x86_64-linux"; + namespace = "sneeuwvlok"; - mkPkgs = pkgs: extraOverlays: - import pkgs { - inherit system; - config.allowUnfree = true; - overlays = extraOverlays ++ (lib.attrValues self.overlays); - }; - pkgs = mkPkgs nixpkgs [self.overlays.default nix-minecraft.overlay flux.overlays.default]; - - lib = nixpkgs.lib.extend (final: prev: { - my = import ./lib { - inherit pkgs inputs; - - lib = final; - }; - }); - in - { - lib = lib.my; - - overlays = { - default = final: prev: { - my = self.packages.${system}; - }; + meta = { + name = "sneeuwvlok"; + title = "Sneeuwvlok"; }; - - packages."${system}" = lib.my.mapModules ./packages (p: pkgs.callPackage p { inherit inputs; }); - - nixosModules = readNixosModules ./modules import; - nixosConfigurations = mapHosts ./hosts {}; }; + + # outputs = inputs @ { self, nixpkgs, nix-minecraft, flux, ... }: + # let + # inherit (lib.my) readNixosModules mapHosts; + + # system = "x86_64-linux"; + + # mkPkgs = pkgs: extraOverlays: + # import pkgs { + # inherit system; + # config.allowUnfree = true; + # overlays = extraOverlays ++ (lib.attrValues self.overlays); + # }; + # pkgs = mkPkgs nixpkgs [self.overlays.default nix-minecraft.overlay flux.overlays.default]; + + # lib = nixpkgs.lib.extend (final: prev: { + # my = import ./lib { + # inherit pkgs inputs; + + # lib = final; + # }; + # }); + # in + # { + # lib = lib.my; + + # overlays = { + # default = final: prev: { + # my = self.packages.${system}; + # }; + # }; + + # packages."${system}" = lib.my.mapModules ./packages (p: pkgs.callPackage p { inherit inputs; }); + + # nixosModules = readNixosModules ./modules import; + # nixosConfigurations = mapHosts ./hosts {}; + # }; }