Reorg
This commit is contained in:
parent
5e51b665f5
commit
3d527426c2
1 changed files with 9 additions and 20 deletions
29
flake.nix
29
flake.nix
|
@ -1,8 +1,6 @@
|
|||
{
|
||||
|
||||
# INFORMATION
|
||||
# When building for a system, remember to change the hostname variable below
|
||||
|
||||
description = "NixOS System Config";
|
||||
|
||||
inputs = {
|
||||
|
@ -48,31 +46,22 @@
|
|||
${hostname} = lib.nixosSystem {
|
||||
inherit system;
|
||||
modules = [
|
||||
# Hardware Configuration
|
||||
./hosts/${hostname}/hardware-configuration.nix
|
||||
# Configuration Imports
|
||||
./hosts/${hostname}/hardware-configuration.nix # Hardware Configuration
|
||||
./hosts/${hostname}/configuration.nix # Extra options for the host hardware configuration
|
||||
./configuration.nix # Common NixOS Configuration
|
||||
|
||||
# Extra options for the host hardware configuration
|
||||
./hosts/${hostname}/configuration.nix
|
||||
# Flake Imports
|
||||
sops-nix.nixosModules.sops # Handle secrets
|
||||
lanzaboote.nixosModules.lanzaboote # SecureBoot Configuration
|
||||
nur.nixosModules.nur # NixOS User Repository
|
||||
|
||||
# Common NixOS Configuration file
|
||||
./configuration.nix
|
||||
|
||||
# SecureBoot Configuration
|
||||
lanzaboote.nixosModules.lanzaboote
|
||||
|
||||
# Import NUR
|
||||
nur.nixosModules.nur
|
||||
|
||||
# Import agenix
|
||||
agenix.nixosModules.default
|
||||
|
||||
# Tell home-manager to use both global and user packages:
|
||||
# Home Manager settings
|
||||
home-manager.nixosModules.home-manager {
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.albert = import ./users/albert/home.nix;
|
||||
home-manager.users.root = import ./users/root/home.nix;
|
||||
# nixpkgs overlays
|
||||
nixpkgs.overlays = [
|
||||
moz_overlay.overlay
|
||||
nur.overlay
|
||||
|
|
Loading…
Reference in a new issue