make all system.nix files functions
This commit is contained in:
parent
dc21222846
commit
554a2784b4
5 changed files with 7 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
_: {
|
||||
poz.other.system = {
|
||||
hostname = "chmura";
|
||||
username = "chmura";
|
||||
|
|
|
@ -31,7 +31,9 @@
|
|||
generic = createHost;
|
||||
}."${host.type}";
|
||||
path' = append host.dir "system.nix";
|
||||
cfg = import path';
|
||||
cfg = (import path') {
|
||||
inherit inputs;
|
||||
};
|
||||
in {
|
||||
name = cfg.poz.other.system.hostname;
|
||||
value = createFn host.dir;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
_: {
|
||||
poz.other = {
|
||||
system = {
|
||||
hostname = "niks";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
_: {
|
||||
poz.other = {
|
||||
system = {
|
||||
hostname = "niks";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
_: {
|
||||
poz.other = {
|
||||
system = {
|
||||
hostname = "niks";
|
||||
|
|
Loading…
Reference in a new issue