debugging...
apperently I only needed to change like 5 lines?? I locked the hell in
This commit is contained in:
@@ -23,24 +23,30 @@
|
||||
system = "x86_64-linux";
|
||||
in
|
||||
{
|
||||
# nixosConfigurations.pc = nixpkgs.lib.nixosSystem {
|
||||
# inherit system;
|
||||
# specialArgs = { inherit inputs; };
|
||||
# modules = [
|
||||
# ./hosts/pc/configuration.nix
|
||||
# home-manager.nixosModules.default
|
||||
nixosConfigurations.test = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
disk = "nvme-SAMSUNG_MZVLB256HBHQ-000H1_S4GNNX2RC66163";
|
||||
};
|
||||
modules = [
|
||||
./hosts/test/configuration.nix
|
||||
home-manager.nixosModules.default
|
||||
|
||||
# {
|
||||
# home-manager = {
|
||||
# useGlobalPkgs = true;
|
||||
# useUserPackages = true;
|
||||
{
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
|
||||
# backupFileExtension = "backup";
|
||||
backupFileExtension = "backup";
|
||||
|
||||
# users.river = import ./home;
|
||||
# };
|
||||
# }
|
||||
# ];
|
||||
# };
|
||||
users.river = import ./home;
|
||||
};
|
||||
}
|
||||
|
||||
inputs.disko.nixosModules.disko
|
||||
./disks/normal.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
#./hardware-configuration.nix
|
||||
../../modules/core
|
||||
../../modules/networking
|
||||
../../modules/virtualization
|
||||
|
||||
@@ -90,6 +90,8 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = "26.11";
|
||||
|
||||
boot.loader =
|
||||
if cfg.bootloader.type == "grub" then
|
||||
{
|
||||
|
||||
@@ -11,7 +11,6 @@ in
|
||||
config = lib.mkMerge [
|
||||
(lib.mkIf cfg.qemu.enable {
|
||||
virtualisation = {
|
||||
containers.enable = cfg.qemu.containers;
|
||||
libvirtd = {
|
||||
enable = true;
|
||||
qemu = {
|
||||
@@ -34,6 +33,10 @@ in
|
||||
programs.virt-manager.enable = true;
|
||||
})
|
||||
|
||||
(lib.mkIf (cfg.qemu.enable && cfg.qemu.containers) {
|
||||
virtualisation.containers.enable = true;
|
||||
})
|
||||
|
||||
(lib.mkIf cfg.qemu.enable {
|
||||
boot.kernelModules = cfg.qemu.bootModules;
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user