cleanup
This commit is contained in:
@@ -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";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user