This commit is contained in:
Mohamed Chrayed 2024-08-16 18:54:52 +02:00
parent 4cbc084ccc
commit 37a6d67d92

View File

@ -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 ];
}
];
}; };
}; };
};
} }