mirror of
https://github.com/Moe1369/nixos-config.git
synced 2024-10-18 08:14:08 +02:00
live iso
This commit is contained in:
parent
4cbc084ccc
commit
37a6d67d92
40
flake.nix
40
flake.nix
@ -126,6 +126,46 @@
|
|||||||
home-manager.sharedModules = [ plasma-manager.homeManagerModules.plasma-manager ];
|
home-manager.sharedModules = [ plasma-manager.homeManagerModules.plasma-manager ];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
# LIVEISO for Steamdeck
|
||||||
|
# user and hostName variable inside hostConfig so we can call it in other modules
|
||||||
|
nixosConfigurations.live =
|
||||||
|
let
|
||||||
|
user = "deck";
|
||||||
|
hostName = "steamdeck";
|
||||||
|
in
|
||||||
|
lib.nixosSystem {
|
||||||
|
specialArgs = {
|
||||||
|
inherit systemModules;
|
||||||
|
inherit userModules;
|
||||||
|
inherit system;
|
||||||
|
inherit user;
|
||||||
|
inherit hostName;
|
||||||
|
};
|
||||||
|
system = system;
|
||||||
|
# Device specific NixOS Modules
|
||||||
|
modules = systemModules ++ [
|
||||||
|
jovian.nixosModules.jovian
|
||||||
|
./hosts/${hostName}
|
||||||
|
/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix
|
||||||
|
./modules/system/apps-misc
|
||||||
|
./modules/system/browser
|
||||||
|
./modules/system/controller
|
||||||
|
./modules/system/jovian-${hostName}
|
||||||
|
./modules/system/lact
|
||||||
|
./modules/system/plasma
|
||||||
|
./modules/system/steam
|
||||||
|
{
|
||||||
|
# Device specific Home Manager Modules
|
||||||
|
home-manager.users.${user}.imports = userModules ++ [
|
||||||
|
./modules/user/plasma
|
||||||
|
];
|
||||||
|
# Issue with Plasma Manager, has to be imported in a special way
|
||||||
|
home-manager.sharedModules = [ plasma-manager.homeManagerModules.plasma-manager ];
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user