Refactor codebase

This commit is contained in:
2026-02-15 20:47:37 -05:00
parent c281e3f018
commit aa1a4c8a6c
3 changed files with 65 additions and 66 deletions

View File

@@ -55,10 +55,12 @@
{ {
hephaestus = nixpkgs.lib.nixosSystem { hephaestus = nixpkgs.lib.nixosSystem {
specialArgs = { specialArgs = {
inherit unstable; inherit
inherit master; unstable
inherit vpngate; master
inherit inputs; vpngate
inputs
;
}; };
modules = [ modules = [
./hosts/hephaestus.nix ./hosts/hephaestus.nix
@@ -90,6 +92,7 @@
}; };
}; };
nixpkgs.config.allowUnfree = true;
nixpkgs.overlays = [ (import ./overlays) ]; nixpkgs.overlays = [ (import ./overlays) ];
home-manager = { home-manager = {
@@ -99,10 +102,7 @@
./home.nix ./home.nix
inputs.nixvim.homeModules.nixvim inputs.nixvim.homeModules.nixvim
]; ];
extraSpecialArgs = { extraSpecialArgs = { inherit unstable master; };
inherit unstable;
inherit master;
};
}; };
}; };
} }
@@ -126,10 +126,7 @@
{ {
zelus = darwin.lib.darwinSystem { zelus = darwin.lib.darwinSystem {
inherit system; inherit system;
specialArgs = { specialArgs = { inherit unstable master; };
inherit unstable;
inherit master;
};
modules = [ modules = [
home-manager.darwinModules.home-manager home-manager.darwinModules.home-manager
@@ -139,6 +136,7 @@
{ ... }: { ... }:
{ {
config = { config = {
nixpkgs.config.allowUnfree = true;
nixpkgs.overlays = [ (import ./overlays) ]; nixpkgs.overlays = [ (import ./overlays) ];
home-manager = { home-manager = {
useGlobalPkgs = true; useGlobalPkgs = true;
@@ -147,10 +145,7 @@
./home.nix ./home.nix
inputs.nixvim.homeModules.nixvim inputs.nixvim.homeModules.nixvim
]; ];
extraSpecialArgs = { extraSpecialArgs = { inherit unstable master; };
inherit unstable;
inherit master;
};
}; };
}; };
} }

View File

@@ -64,20 +64,34 @@
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# desktop apps
bitwarden-desktop bitwarden-desktop
bleachbit
calibre
clamtk
cryptsetup
dbeaver-bin dbeaver-bin
discord discord
freefilesync freefilesync
gimp-with-plugins gimp-with-plugins
google-chrome google-chrome
hardinfo2
httpie-desktop httpie-desktop
onlyoffice-desktopeditors
pika-backup
pinta
qbittorrent
unstable.obsidian
unstable.podman-desktop
unstable.signal-desktop-bin
unstable.zoom-us
# gaming
heroic heroic
iputils ludusavi
lutris
mupen64plus
protonup-qt
unstable.mcpelauncher-ui-qt
unstable.ryubing
wine
# kde
kdePackages.bluedevil kdePackages.bluedevil
kdePackages.kcalc kdePackages.kcalc
kdePackages.kcharselect kdePackages.kcharselect
@@ -86,43 +100,44 @@
kdePackages.ksystemlog kdePackages.ksystemlog
kdePackages.partitionmanager kdePackages.partitionmanager
kdePackages.sddm-kcm kdePackages.sddm-kcm
# media
calibre
libation libation
ludusavi unstable.spotify
lutris vlc
mupen64plus
# networking
iputils
traceroute
unstable.ktailctl
unstable.tailscale
vpngate.packages.x86_64-linux.default
whois
# security
bleachbit
clamtk
cryptsetup
opensnitch-ui
pinentry-curses
# system utilities
hardinfo2
nfs-utils nfs-utils
pciutils
qemu
unrar
unstable.beszel
usbutils
virt-manager
wayland-utils
wl-clipboard
# development
nodePackages.prettier nodePackages.prettier
nodePackages.yarn nodePackages.yarn
nodejs nodejs
onlyoffice-desktopeditors
opensnitch-ui
pciutils
pika-backup
pinentry-curses
pinta
protonup-qt
qbittorrent
qemu
traceroute
unrar
unstable.beszel
unstable.ktailctl
unstable.mcpelauncher-ui-qt
unstable.obsidian
unstable.podman-desktop
unstable.ryubing
unstable.signal-desktop-bin
unstable.spotify
unstable.tailscale
unstable.zoom-us
usbutils
virt-manager
vlc
vpngate.packages.x86_64-linux.default
wayland-utils
whois
wine
wl-clipboard
]; ];
fileSystems = { fileSystems = {
@@ -167,12 +182,7 @@
emoji = [ "Noto Color Emoji" ]; emoji = [ "Noto Color Emoji" ];
}; };
nixpkgs = { nixpkgs.hostPlatform = "x86_64-linux";
hostPlatform = "x86_64-linux";
config = {
allowUnfree = true;
};
};
networking = { networking = {
iproute2.enable = true; iproute2.enable = true;

View File

@@ -1,11 +1,5 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
nixpkgs = {
config = {
allowUnfree = true;
};
};
networking = { networking = {
hostName = "zelus"; hostName = "zelus";
}; };