Reorganize

This commit is contained in:
David C
2023-08-14 16:17:58 -04:00
parent e673e82c46
commit a466f46bc2
14 changed files with 16 additions and 13 deletions

View File

@@ -33,19 +33,10 @@
}; };
nixosConfigurations.universedesktop = nixpkgs.lib.nixosSystem { nixosConfigurations.universedesktop = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = attrs;
modules = modules =
[ [
./configuration.nix ./machines/universedesktop/configuration.nix
./programs/art.nix
./programs/audio.nix
./programs/cad.nix
./programs/desktop.nix
./programs/games.nix
./programs/office.nix
./programs/programming.nix
./programs/terminal.nix
./programs/video.nix
./printing.nix
]; ];
}; };
}; };

View File

@@ -2,11 +2,23 @@
# your system. Help is available in the configuration.nix(5) man page # your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help). # and in the NixOS manual (accessible by running nixos-help).
{ lib, config, pkgs, ... }: { { lib, config, pkgs, nixpkgs, ... }: {
nix.settings.auto-optimise-store = true; nix.settings.auto-optimise-store = true;
nix.registry.nixpkgs.flake = nixpkgs;
imports = imports =
[ # Include the results of the hardware scan. [ # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
./programs/art.nix
./programs/audio.nix
./programs/cad.nix
./programs/desktop.nix
./programs/games.nix
./programs/office.nix
./programs/programming.nix
./programs/terminal.nix
./programs/video.nix
./printing.nix
]; ];
fileSystems."/home/universe/tmp" = { fileSystems."/home/universe/tmp" = {
@@ -199,7 +211,7 @@
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
services.openssh.enable = true; services.openssh.enable = true;
services.openssh.ports = [7000]; services.openssh.ports = [7000];
services.openssh.settings.X11Forwarding = true;
# Tailscale # Tailscale
services.tailscale = { services.tailscale = {
enable = true; enable = true;