small retooling for flake.nix
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, roleStateFile, customFile, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./modules/modules.nix
|
./modules/modules.nix
|
||||||
/etc/nixos/role-state.nix
|
roleStateFile
|
||||||
/etc/nixos/custom.nix
|
customFile
|
||||||
./iso/branding.nix
|
./iso/branding.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
# #
|
# #
|
||||||
# After making changes, rebuild with: #
|
# After making changes, rebuild with: #
|
||||||
# #
|
# #
|
||||||
# sudo nixos-rebuild switch --impure #
|
# nixos-rebuild switch #
|
||||||
# #
|
# #
|
||||||
###########################################################
|
###########################################################
|
||||||
|
|
||||||
|
|||||||
@@ -22,8 +22,13 @@
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
||||||
|
system = "x86_64-linux";
|
||||||
|
specialArgs = {
|
||||||
|
roleStateFile = /etc/nixos/role-state.nix;
|
||||||
|
customFile = /etc/nixos/custom.nix;
|
||||||
|
};
|
||||||
modules = [
|
modules = [
|
||||||
{ nixpkgs.hostPlatform = "x86_64-linux"; }
|
self.nixosModules.Sovran_SystemsOS
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user