small retooling for flake.nix

This commit is contained in:
2026-03-29 07:38:06 -05:00
parent 33e3db9998
commit 93a0d5b181
3 changed files with 10 additions and 5 deletions

View File

@@ -1,10 +1,10 @@
{ config, pkgs, lib, ... }:
{ config, pkgs, lib, roleStateFile, customFile, ... }:
{
imports = [
./modules/modules.nix
/etc/nixos/role-state.nix
/etc/nixos/custom.nix
roleStateFile
customFile
./iso/branding.nix
];

View File

@@ -10,7 +10,7 @@
# #
# After making changes, rebuild with: #
# #
# sudo nixos-rebuild switch --impure #
# nixos-rebuild switch #
# #
###########################################################

View File

@@ -22,8 +22,13 @@
in
{
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
roleStateFile = /etc/nixos/role-state.nix;
customFile = /etc/nixos/custom.nix;
};
modules = [
{ nixpkgs.hostPlatform = "x86_64-linux"; }
self.nixosModules.Sovran_SystemsOS
];
};