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
|
# INFORMATION
|
||||||
# When building for a system, remember to change the hostname variable below
|
# When building for a system, remember to change the hostname variable below
|
||||||
|
|
||||||
description = "NixOS System Config";
|
description = "NixOS System Config";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
|
@ -48,31 +46,22 @@
|
||||||
${hostname} = lib.nixosSystem {
|
${hostname} = lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
modules = [
|
modules = [
|
||||||
# Hardware Configuration
|
# Configuration Imports
|
||||||
./hosts/${hostname}/hardware-configuration.nix
|
./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
|
# Flake Imports
|
||||||
./hosts/${hostname}/configuration.nix
|
sops-nix.nixosModules.sops # Handle secrets
|
||||||
|
lanzaboote.nixosModules.lanzaboote # SecureBoot Configuration
|
||||||
|
nur.nixosModules.nur # NixOS User Repository
|
||||||
|
|
||||||
# Common NixOS Configuration file
|
# Home Manager settings
|
||||||
./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.nixosModules.home-manager {
|
home-manager.nixosModules.home-manager {
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.users.albert = import ./users/albert/home.nix;
|
home-manager.users.albert = import ./users/albert/home.nix;
|
||||||
home-manager.users.root = import ./users/root/home.nix;
|
home-manager.users.root = import ./users/root/home.nix;
|
||||||
# nixpkgs overlays
|
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
moz_overlay.overlay
|
moz_overlay.overlay
|
||||||
nur.overlay
|
nur.overlay
|
||||||
|
|
Loading…
Reference in a new issue