Fixed minimal install for fujin, 'fixed' fujin, need to fix hypr

This commit is contained in:
Alexander
2025-08-03 10:38:15 +02:00
parent 2ed1f0163c
commit 4a2ba48482
6 changed files with 19 additions and 254 deletions
+12 -4
View File
@@ -4,14 +4,22 @@
disko.devices = {
disk = {
main = {
device = "/dev/nvme1n1";
device = "/dev/nvme0n1";
type = "disk";
content = {
type = "gpt";
partitions = {
boot = {
size = "1M";
type = "EF02"; # for grub MBR
ESP = {
priority = 1;
name = "ESP";
size = "500M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
};
};
root = {
size = "100%";
+2 -9
View File
@@ -4,17 +4,14 @@
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot = {
loader.grub = {
enable = true;
useOSProber = true;
};
loader.systemd-boot.enable = true;
initrd = {
availableKernelModules =
[ "nvme" "xhci_pci" "usb_storage" "sd_mod" "sdhci_pci" ];
kernelModules = [ ];
};
kernelModules = [ "kvm-amd" ];
kernelPackages = pkgs.linuxPackages_latest;
# allow perf as user | needed for intellij to run profiler
kernel.sysctl."kernel.perf_event_paranoid" = 1;
@@ -23,8 +20,4 @@
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.nvidia.prime = {
amdgpuBusId = lib.mkForce "PCI:7:0:0";
};
}
+3 -1
View File
@@ -6,7 +6,7 @@
../hardware-configuration.nix
../disko-config.nix
./sops.nix
#./sops.nix
];
users.users.${username} = {
@@ -46,6 +46,8 @@
development.emacs.enable = true;
virtualisation.docker.enable = true;
window-manager.hypr.enable = true;
};
###
-3
View File
@@ -64,9 +64,6 @@ in {
nixPath = lib.mapAttrsToList (n: _: "${n}=flake:${n}") flakeInputs;
};
boot.loader.grub.enable = true;
boot.loader.grub.useOSProber = true;
time.timeZone = "Europe/Warsaw";
# Select internationalisation properties.