Added live-image to flake

This commit is contained in:
EsVagy42 2025-12-05 19:49:05 +01:00
parent 899fda4c6a
commit 4cba408c42
3 changed files with 25 additions and 16 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
result

View file

@ -1 +1 @@
Removed powershell
Added live-image to flake

View file

@ -33,17 +33,11 @@
config.allowUnfree = false;
};
lib = nixpkgs.lib;
in
{
nixosConfigurations = {
nixos = lib.nixosSystem {
inherit system;
modules = [
baseModules = [
{
environment.systemPackages = [ inputs.nixvim.packages.${system}.default ];
}
./configuration.nix
./devices/default/default.nix
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
@ -55,6 +49,20 @@
};
}
];
in
{
nixosConfigurations = {
nixos = lib.nixosSystem {
inherit system;
modules = baseModules ++ [
./devices/default/default.nix
];
};
live = lib.nixosSystem {
inherit system;
modules = baseModules ++ [
(nixpkgs + "/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix")
];
};
};
};