works now?
This commit is contained in:
1 parent
fd19e4398b
commit
08e34ab82f
25 files changed
+746
-211
No files matched your search
@@ -0,0 +1,11 @@
|
||||
{ inputs, ... }: {
|
||||
flake.modules.nixos.nixos-desktop = {
|
||||
imports =
|
||||
with inputs.self.modules.nixos;
|
||||
with inputs.self.factory;
|
||||
[
|
||||
system-desktop
|
||||
i18n-de
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
flake.modules.nixos.nixos-desktop = {
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/80073df0-54bd-438e-bcbc-795d3d886385";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/2F17-7ACA";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
};
|
||||
|
||||
swapDevices = [
|
||||
{ device = "/dev/disk/by-uuid/7810e79b-360b-48e1-a527-92ebeb4f628c"; }
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{ inputs, ... }: {
|
||||
flake.nixosConfigurations = inputs.self.lib.mkNixos "x86_64-linux" "nixos-desktop";
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{ inputs, ... }: {
|
||||
flake.modules.nixos.nixos-desktop = { lib, ... }: {
|
||||
boot.initrd.availableKernelModules = [
|
||||
"nvme"
|
||||
"xhci_pci"
|
||||
"ahci"
|
||||
"usbhid"
|
||||
"usb_storage"
|
||||
"sd_mod"
|
||||
];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
nixpkgs.hostPlatform = "x86_64-linux";
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
hardware.cpu.amd.updateMicrocode = true;
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{ inputs, ... }: {
|
||||
flake.modules.nixos.nixos-desktop = { config, ... } : {
|
||||
imports = with inputs.self.modules.nixos; [
|
||||
snurm
|
||||
];
|
||||
|
||||
home-manager.users.snurm = { config, ... }: {
|
||||
imports =
|
||||
with inputs.self.modules.homeManager;
|
||||
with inputs.self.factory;
|
||||
[
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user