Working on reshuffling
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
{ inputs, config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
# Import all reusable modules via the flake input
|
||||
modulesFromTree = builtins.attrValues (inputs.import-tree { path = ../modules; });
|
||||
in
|
||||
{
|
||||
# Host-specific imports
|
||||
imports = [
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
] ++ modulesFromTree;
|
||||
|
||||
# Host-specific configuration
|
||||
networking.hostName = "traveldroid";
|
||||
system.stateVersion = "25.11";
|
||||
|
||||
boot.loader.grub = {
|
||||
enable = true;
|
||||
efiSupport = true;
|
||||
device = "nodev";
|
||||
useOSProber = true;
|
||||
};
|
||||
boot.efi.canTouchEfiVariables = true;
|
||||
|
||||
boot.kernelParams = [
|
||||
"systemd.mask=dev-tpm0.device"
|
||||
"systemd.mask=dev-tpmrm0.device"
|
||||
];
|
||||
|
||||
# User-defined features
|
||||
mySystem.system.core.enable = true;
|
||||
|
||||
# Desktop environment features
|
||||
desktop.hyprland.enable = true;
|
||||
desktop.noctalia.enable = true;
|
||||
desktop.stylix.enable = true;
|
||||
|
||||
# Hardware overrides (host-specific)
|
||||
hardware.nvidia.enable = false;
|
||||
}
|
||||
Reference in New Issue
Block a user