clean up some things

This commit is contained in:
stupidcomputer 2024-12-26 16:19:59 -06:00
parent 73f349ccf1
commit a5602a3bb5
6 changed files with 19 additions and 21 deletions

View File

@ -6,8 +6,8 @@
./nvidia.nix ./nvidia.nix
./services ./services
../../config/copernicus.nix ../../config/copernicus.nix
../../modules/hosts.nix ../../lib/hosts.nix
../../modules/bootstrap.nix ../../lib/bootstrap.nix
]; ];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [

View File

@ -1,23 +1,21 @@
{ lib, config, pkgs, machines, ... }: { lib, config, pkgs, machines, ... }:
{ {
imports = imports = [
[ ./hardware-configuration.nix
./hardware-configuration.nix ../../lib/bootstrap.nix
../../modules/bootstrap.nix
./radicale.nix ./franklincce.nix
./ssh.nix ./gitea.nix
./gitea.nix ./mail.nix
./radicale.nix ./nextcloud.nix
./vaultwarden.nix ./nginx.nix
./sslh.nix ./radicale.nix
./nginx.nix ./ssh.nix
./franklincce.nix ./sslh.nix
./wireguard.nix ./vaultwarden.nix
./nextcloud.nix ./wireguard.nix
./mail.nix ];
];
nix = { nix = {
optimise = { optimise = {

View File

@ -18,21 +18,21 @@
nixosConfigurations = { nixosConfigurations = {
netbox = nixpkgs.lib.nixosSystem { netbox = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = { inherit inputs; } // { machines = import ./machines.nix; }; specialArgs = { inherit inputs; } // { machines = import ./lib/machines.nix; };
modules = [ modules = [
./boxes/netbox ./boxes/netbox
]; ];
}; };
copernicus = nixpkgs.lib.nixosSystem { copernicus = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = { inherit inputs; } // { machines = import ./machines.nix; }; specialArgs = { inherit inputs; } // { machines = import ./lib/machines.nix; };
modules = [ modules = [
./boxes/copernicus ./boxes/copernicus
]; ];
}; };
aristotle = nixpkgs.lib.nixosSystem { aristotle = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = { inherit inputs; } // { machines = import ./machines.nix; }; specialArgs = { inherit inputs; } // { machines = import ./lib/machines.nix; };
modules = [ modules = [
./lappy/configuration.nix ./lappy/configuration.nix
]; ];