Reorganize
This commit is contained in:
13
flake.nix
13
flake.nix
@@ -33,19 +33,10 @@
|
||||
};
|
||||
nixosConfigurations.universedesktop = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = attrs;
|
||||
modules =
|
||||
[
|
||||
./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
|
||||
./machines/universedesktop/configuration.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
@@ -2,11 +2,23 @@
|
||||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ lib, config, pkgs, ... }: {
|
||||
{ lib, config, pkgs, nixpkgs, ... }: {
|
||||
nix.settings.auto-optimise-store = true;
|
||||
nix.registry.nixpkgs.flake = nixpkgs;
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
./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" = {
|
||||
@@ -199,7 +211,7 @@
|
||||
# Enable the OpenSSH daemon.
|
||||
services.openssh.enable = true;
|
||||
services.openssh.ports = [7000];
|
||||
|
||||
services.openssh.settings.X11Forwarding = true;
|
||||
# Tailscale
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
Reference in New Issue
Block a user