mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 09:44:08 -05:00
Create a live image configuration for ventoy
This commit is contained in:
parent
db36e7e24a
commit
68b6d76500
3 changed files with 30 additions and 24 deletions
12
flake.nix
12
flake.nix
|
|
@ -56,6 +56,18 @@
|
|||
sops-nix.nixosModules.sops
|
||||
];
|
||||
};
|
||||
Parzival-Live = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
pkgs = import nixpkgs {
|
||||
hostPlatform = "x86_64-linux";
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
};
|
||||
modules = [
|
||||
./hosts/Parzival-Live
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
18
hosts/Parzival-Live/default.nix
Normal file
18
hosts/Parzival-Live/default.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
pkgs,
|
||||
modulesPath,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
"${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"
|
||||
];
|
||||
|
||||
boot.supportedFilesystems = lib.mkForce ["btrfs" "reiserfs" "vfat" "f2fs" "xfs" "ntfs" "cifs"];
|
||||
|
||||
desktop.sway.enable = true;
|
||||
|
||||
module.gui.enable = true;
|
||||
module.programming.enable = true;
|
||||
module.wayland.enable = true;
|
||||
}
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../modules
|
||||
];
|
||||
|
||||
networking.hostName = "Parzival-Work";
|
||||
|
||||
user.crow.enable = true;
|
||||
|
||||
desktop.sway.enable = true;
|
||||
desktop.i3.enable = true;
|
||||
|
||||
module.gui.enable = true;
|
||||
module.programming.enable = true;
|
||||
module.wayland.enable = true;
|
||||
module.x11.enable = true;
|
||||
module.mudding.enable = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue