This commit is contained in:
mjallen18
2025-08-24 18:56:51 -05:00
parent cfaf900db6
commit 2ea82a643d
22 changed files with 338 additions and 531 deletions

View File

@@ -2,8 +2,8 @@
{
# as well as the libraries available from your flake's inputs.
# lib,
# # An instance of `pkgs` with your overlays and packages applied is also available.
# pkgs,
# An instance of `pkgs` with your overlays and packages applied is also available.
pkgs,
# # You also have access to your flake's inputs.
# inputs,
@@ -16,32 +16,41 @@
# systems, # An attribute map of your defined hosts.
# All other arguments come from the system system.
config,
# config,
...
}:
let
passwordFile = config.sops.secrets."desktop/matt_password".path;
in
{
imports = [
./boot.nix
./configuration.nix
./filesystems.nix
./hardware-configuration.nix
# ./networking.nix - moved to modules/nixos/network
./nix.nix
./sops.nix
./services/lsfg-vk
./specialisations/hyprland
];
${namespace} = {
hardware.disko.enable = false;
bootloader.lanzaboote.enable = true;
desktop = {
hyprland = {
enable = true;
wallpaperSource = "nasa";
};
gnome.enable = false;
};
gaming.enable = true;
hardware = {
disko.enable = false;
amd = {
enable = true;
lact.enable = true;
};
};
impermanence.enable = true;
desktop.gnome.enable = true;
network = {
hostName = "matt-nixos";
wifi = {
@@ -55,8 +64,13 @@ in
};
};
};
user = {
passwordFile = passwordFile;
};
};
programs.coolercontrol.enable = true;
environment.variables = {
GDK_SCALE = "1";
EDITOR = "${pkgs.vscodium}/bin/codium --wait";
VISUAL = "${pkgs.vscodium}/bin/codium --wait";
};
}