small retooling for flake.nix
This commit is contained in:
@@ -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
|
||||
];
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
# #
|
||||
# After making changes, rebuild with: #
|
||||
# #
|
||||
# sudo nixos-rebuild switch --impure #
|
||||
# nixos-rebuild switch #
|
||||
# #
|
||||
###########################################################
|
||||
|
||||
|
||||
@@ -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
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user