refactor everything holy fuck
This commit is contained in:
@@ -28,11 +28,61 @@
|
||||
] ++ modules;
|
||||
}).config.system.build.sdImage;
|
||||
in {
|
||||
|
||||
nixosConfigurations = {
|
||||
"TheBlackBox" = mkHost "x86_64-linux" [
|
||||
./modules/common.nix
|
||||
# repurposed for use as nas
|
||||
#"TheBlackBox" = mkHost "x86_64-linux" [
|
||||
# ./modules/common.nix
|
||||
# ./modules/desktop-common.nix
|
||||
# ./hosts/desktop/configuration.nix
|
||||
# spicetify-nix.nixosModules.spicetify
|
||||
# home-manager.nixosModules.home-manager
|
||||
# {
|
||||
# home-manager.useGlobalPkgs = true;
|
||||
# home-manager.useUserPackages = true;
|
||||
# home-manager.users.k3t = ./home/desktop.nix;
|
||||
# }
|
||||
#];
|
||||
"board" = mkHost "x86_64-linux" [
|
||||
./modules/audio/base.nix
|
||||
./modules/audio/zeroconf.nix
|
||||
|
||||
./modules/bluetooth/desktop.nix
|
||||
./modules/de/kde.nix
|
||||
./modules/desktop-common.nix
|
||||
./hosts/desktop/configuration.nix
|
||||
|
||||
./modules/gui/apps/firefox.nix
|
||||
./modules/gui/apps/spicetify.nix
|
||||
./modules/gui/fonts.nix
|
||||
./modules/gui/services/flatpak.nix
|
||||
./modules/gui/services/kdeconnect.nix
|
||||
./modules/gui/services/kwallet.nix
|
||||
./modules/gui/services/xdg.nix
|
||||
|
||||
./modules/net/services/avahi.nix
|
||||
./modules/net/services/networkmanager.nix
|
||||
./modules/net/services/printing.nix
|
||||
./modules/net/services/tailscale.nix
|
||||
|
||||
./modules/sys/compat.nix
|
||||
./modules/sys/firewall.nix
|
||||
./modules/sys/fs/btrfs.nix
|
||||
./modules/sys/hw/boot.nix
|
||||
./modules/sys/hw/cpu/amd64.nix
|
||||
./modules/sys/hw/gpu/amd.nix
|
||||
./modules/sys/nix.nix
|
||||
./modules/sys/perf.nix
|
||||
./modules/sys/pkgs.nix
|
||||
./modules/sys/rc/openssh.nix
|
||||
./modules/sys/rc/sunshine.nix
|
||||
./modules/sys/rgb.nix
|
||||
./modules/sys/security.nix
|
||||
./modules/sys/shell.nix
|
||||
./modules/sys/stateversion.nix
|
||||
./modules/sys/tz.nix
|
||||
./modules/sys/users.nix
|
||||
|
||||
./hosts/board/configuration.nix
|
||||
spicetify-nix.nixosModules.spicetify
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
@@ -41,21 +91,45 @@
|
||||
home-manager.users.k3t = ./home/desktop.nix;
|
||||
}
|
||||
];
|
||||
"pi-htpc" = mkHost "aarch64-linux" [
|
||||
nixos-hardware.nixosModules.raspberry-pi-4
|
||||
./modules/common.nix
|
||||
./modules/pi-common.nix
|
||||
./hosts/pi-htpc/configuration.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.k3t = ./home/htpc.nix;
|
||||
}
|
||||
];
|
||||
"T14" = mkHost "x86_64-linux" [
|
||||
./modules/common.nix
|
||||
./modules/audio/base.nix
|
||||
./modules/audio/zeroconf.nix
|
||||
|
||||
./modules/bluetooth/desktop.nix
|
||||
./modules/de/kde.nix
|
||||
./modules/desktop-common.nix
|
||||
|
||||
./modules/gui/apps/firefox.nix
|
||||
./modules/gui/apps/spicetify.nix
|
||||
./modules/gui/fonts.nix
|
||||
./modules/gui/services/flatpak.nix
|
||||
./modules/gui/services/kdeconnect.nix
|
||||
./modules/gui/services/kwallet.nix
|
||||
./modules/gui/services/xdg.nix
|
||||
|
||||
./modules/net/services/avahi.nix
|
||||
./modules/net/services/networkmanager.nix
|
||||
./modules/net/services/printing.nix
|
||||
./modules/net/services/tailscale.nix
|
||||
|
||||
./modules/sys/compat.nix
|
||||
./modules/sys/firewall.nix
|
||||
./modules/sys/fs/btrfs.nix
|
||||
./modules/sys/hw/boot.nix
|
||||
./modules/sys/hw/cpu/amd64.nix
|
||||
./modules/sys/hw/gpu/amd.nix
|
||||
./modules/sys/nix.nix
|
||||
./modules/sys/perf.nix
|
||||
./modules/sys/pkgs.nix
|
||||
./modules/sys/rc/openssh.nix
|
||||
./modules/sys/rc/sunshine.nix
|
||||
./modules/sys/rgb.nix
|
||||
./modules/sys/security.nix
|
||||
./modules/sys/shell.nix
|
||||
./modules/sys/stateversion.nix
|
||||
./modules/sys/tz.nix
|
||||
./modules/sys/users.nix
|
||||
|
||||
./hosts/laptop/configuration.nix
|
||||
spicetify-nix.nixosModules.spicetify
|
||||
home-manager.nixosModules.home-manager
|
||||
@@ -65,8 +139,49 @@
|
||||
home-manager.users.k3t = ./home/desktop.nix;
|
||||
}
|
||||
];
|
||||
#"pi-htpc" = mkHost "aarch64-linux" [
|
||||
# nixos-hardware.nixosModules.raspberry-pi-4
|
||||
# ./modules/net/services/networkmanager.nix
|
||||
# ./modules/net/services/tailscale.nix
|
||||
# ./modules/sys/compat.nix
|
||||
# ./modules/sys/firewall.nix
|
||||
# ./modules/sys/fs/btrfs.nix
|
||||
# ./modules/sys/hw/boot.nix
|
||||
# ./modules/sys/nix.nix
|
||||
# ./modules/sys/perf.nix
|
||||
# ./modules/sys/pkgs.nix
|
||||
# ./modules/sys/rc/openssh.nix
|
||||
# ./modules/sys/security.nix
|
||||
# ./modules/sys/shell.nix
|
||||
# ./modules/sys/stateversion.nix
|
||||
# ./modules/sys/tz.nix
|
||||
# ./modules/sys/users.nix
|
||||
# ./modules/pi-common.nix
|
||||
# ./hosts/pi-htpc-old/configuration.nix
|
||||
# home-manager.nixosModules.home-manager
|
||||
# {
|
||||
# home-manager.useGlobalPkgs = true;
|
||||
# home-manager.useUserPackages = true;
|
||||
# home-manager.users.k3t = ./home/htpc.nix;
|
||||
# }
|
||||
#];
|
||||
"nixcloud" = mkHost "x86_64-linux" [
|
||||
./modules/common.nix
|
||||
./modules/net/services/networkmanager.nix
|
||||
./modules/net/services/tailscale.nix
|
||||
./modules/sys/compat.nix
|
||||
./modules/sys/firewall.nix
|
||||
./modules/sys/fs/btrfs.nix
|
||||
./modules/sys/hw/boot.nix
|
||||
./modules/sys/hw/cpu/arm64.nix
|
||||
./modules/sys/nix.nix
|
||||
./modules/sys/perf.nix
|
||||
./modules/sys/pkgs.nix
|
||||
./modules/sys/rc/openssh.nix
|
||||
./modules/sys/security.nix
|
||||
./modules/sys/shell.nix
|
||||
./modules/sys/stateversion.nix
|
||||
./modules/sys/tz.nix
|
||||
./modules/sys/users.nix
|
||||
./modules/vps-aarch64-common.nix
|
||||
./hosts/nixcloud/configuration.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
@@ -79,17 +194,31 @@
|
||||
};
|
||||
|
||||
# SD card images
|
||||
images = {
|
||||
pi-htpc = mkPiImage [
|
||||
./modules/common.nix
|
||||
./modules/pi-common.nix
|
||||
./hosts/pi-htpc/configuration.nix
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.k3t = ./home/desktop.nix;
|
||||
}
|
||||
];
|
||||
};
|
||||
#images = {
|
||||
# pi-htpc-old = mkPiImage [
|
||||
# ./modules/net/services/networkmanager.nix
|
||||
# ./modules/net/services/tailscale.nix
|
||||
# ./modules/sys/compat.nix
|
||||
# ./modules/sys/firewall.nix
|
||||
# ./modules/sys/fs/btrfs.nix
|
||||
# ./modules/sys/hw/boot.nix
|
||||
# ./modules/sys/nix.nix
|
||||
# ./modules/sys/perf.nix
|
||||
# ./modules/sys/pkgs.nix
|
||||
# ./modules/sys/rc/openssh.nix
|
||||
# ./modules/sys/security.nix
|
||||
# ./modules/sys/shell.nix
|
||||
# ./modules/sys/stateversion.nix
|
||||
# ./modules/sys/tz.nix
|
||||
# ./modules/sys/users.nix
|
||||
# ./modules/pi-common.nix
|
||||
# ./hosts/pi-htpc-old/configuration.nix
|
||||
# {
|
||||
# home-manager.useGlobalPkgs = true;
|
||||
# home-manager.useUserPackages = true;
|
||||
# home-manager.users.k3t = ./home/desktop.nix;
|
||||
# }
|
||||
# ];
|
||||
#};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user