Restructured to use a profiles directory for cleaner structure.

This commit is contained in:
kat witch 2020-11-05 16:46:46 +00:00 committed by kat
parent 2711729d50
commit 0668a962e8
12 changed files with 16 additions and 16 deletions

View file

@ -3,7 +3,7 @@
let unstable = import <nixos-unstable> {}; in { let unstable = import <nixos-unstable> {}; in {
imports = imports =
[ [
../../common ../../profiles/common
./hardware-configuration.nix ./hardware-configuration.nix
#./services/postgres.nix #./services/postgres.nix
./services/znc.nix ./services/znc.nix

View file

@ -8,9 +8,9 @@
imports = imports =
[ # Include the results of the hardware scan. [ # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
../../common ../../profiles/common
../../desktop ../../profiles/desktop
../../xfce ../../profiles/xfce
]; ];
# Use the systemd-boot EFI boot loader. # Use the systemd-boot EFI boot loader.

View file

@ -4,11 +4,11 @@
imports = imports =
[ [
./hardware-configuration.nix ./hardware-configuration.nix
../../common ../../profiles/common
../../desktop ../../profiles/desktop
../../gnome ../../profiles/gnome
../../gaming ../../profiles/gaming
../../development ../../profiles/development
]; ];
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;

View file

@ -4,11 +4,11 @@
imports = imports =
[ [
./hardware-configuration.nix ./hardware-configuration.nix
../../common ../../profiles/common
../../desktop ../../profiles/desktop
../../gnome ../../profiles/gnome
../../gaming ../../profiles/gaming
../../development ../../profiles/development
]; ];
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;

View file

@ -7,14 +7,14 @@ let
}; };
in { in {
imports = [ imports = [
../../modules ../../../modules
"${home-manager}/nixos" "${home-manager}/nixos"
./pbb.nix ./pbb.nix
./users.nix ./users.nix
]; ];
nixpkgs.overlays = [ nixpkgs.overlays = [
(self: super: import ../../pkgs { nixpkgs = super.path; }) (self: super: import ../../../pkgs { nixpkgs = super.path; })
]; ];
boot.kernelPackages = lib.mkDefault pkgs.linuxPackages_latest; boot.kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;