Created all the top.nixes

This commit is contained in:
2026-03-06 22:37:03 +01:00
parent 511b4fd3f7
commit ee8b639390
87 changed files with 2824 additions and 474 deletions
@@ -0,0 +1,39 @@
{
hostname,
pkgs,
lib,
modulesPath,
user,
config,
...
}:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
../../hardware/hardware.nix
];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_usb_sdmmc" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/69433a14-fbaf-401b-af85-cd1bbf02b4e2";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/811D-0676";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices =
[ { device = "/dev/disk/by-uuid/b6c557c2-7682-460b-a5e7-8f6f2f429a3a"; }
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}
@@ -0,0 +1,11 @@
{ config, pkgs, lib, user, inputs, ... }:
{
# Import all other configurations
imports = [
./hardware-configuration.nix
];
# Minimal settings that must be defined here
networking.hostName = "traveldroid";
wm.type = "hyprland"; # Define the window manager type here, mangowc will be made possible in the nerar future.
# In generated/top.nix the chpice fopr a window manager will be effectuated
}
+15
View File
@@ -0,0 +1,15 @@
{ system, ... }:
{
username = "henrov";
homeDirectory = "/home/henrov";
stateVersion = "25.11";
locale = "nl_NL.UTF-8";
}
{ mkShell }:
mkShell {
buildInputs = with import <nixpkgs> {}; [
nil
nixfmt-rfc-style
];
}