Working on reshuffling
This commit is contained in:
+4
-44
@@ -372,20 +372,7 @@ in
|
||||
** =generated/hosts/traveldroid/boot.nix=
|
||||
#+BEGIN_SRC nix :tangle generated/hosts/traveldroid/boot.nix :noweb tangle :mkdirp yes :eval never-html
|
||||
{ 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;
|
||||
@@ -399,17 +386,6 @@ in
|
||||
"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;
|
||||
}
|
||||
#+END_SRC
|
||||
|
||||
@@ -419,34 +395,18 @@ in
|
||||
{ config, lib, ... }:
|
||||
|
||||
{
|
||||
# Host-specific system 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 environment
|
||||
desktop.hyprland.enable = true;
|
||||
desktop.noctalia.enable = true;
|
||||
desktop.stylix.enable = true;
|
||||
|
||||
# Hardware overrides (host-specific)
|
||||
# Hardware overrides
|
||||
hardware.nvidia.enable = false;
|
||||
}
|
||||
#+END_SRC
|
||||
}#+END_SRC
|
||||
|
||||
** =generated/hosts/traveldroid/hardware-configuration.nix=
|
||||
1. Boot into NixOS Live ISO or your installed system.
|
||||
|
||||
Reference in New Issue
Block a user