initial config

This commit is contained in:
matiss
2026-04-20 15:08:47 +00:00
commit 8f4daf76b8
27 changed files with 1458 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
# ==========================================
# HOST: matiss (Hyprland Workstation)
# ==========================================
{ config, pkgs, inputs, ... }:
{
imports = [
./hardware-configuration.nix
# System modules
../../modules/system/nix.nix
../../modules/system/boot.nix
../../modules/system/network.nix
../../modules/system/firewall.nix
../../modules/system/desktop.nix
../../modules/system/hardware.nix
../../modules/system/user.nix
../../modules/system/fonts.nix
../../modules/system/services.nix
../../modules/system/vpn.nix
];
networking.hostName = "matiss";
}

View File

@@ -0,0 +1,31 @@
# Do not modify this file! It was generated by 'nixos-generate-config'
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "vmd" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/fee68672-3a01-4156-ac68-e035f325a6e6";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/F2AB-5A1A";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
swapDevices = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}