summaryrefslogtreecommitdiff
path: root/hosts/glados/default.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-03-08 02:57:57 -0500
committerseth <[email protected]>2023-03-08 15:32:06 -0500
commitfa7a407bda1b26b413702287f227629af0798f55 (patch)
tree38cc9ae1791939a0f92a3f03d37a0249e62cdf1a /hosts/glados/default.nix
parent729db074dc1b93cab10b43119197c8e02a452405 (diff)
another major refactor
Diffstat (limited to 'hosts/glados/default.nix')
-rw-r--r--hosts/glados/default.nix21
1 files changed, 17 insertions, 4 deletions
diff --git a/hosts/glados/default.nix b/hosts/glados/default.nix
index 0b6d7c5..e8b083e 100644
--- a/hosts/glados/default.nix
+++ b/hosts/glados/default.nix
@@ -1,14 +1,25 @@
-_: {
+{
+ config,
+ home-manager,
+ ...
+}: {
imports = [
- ../common/hardware
- ../common/hardware/nvidia.nix
- ../common/virtualisation.nix
+ ../../profiles/desktop/gnome
+ ../../profiles/hardware/nvidia.nix
+ ../../profiles/virtualisation.nix
+ ../../users/seth
./boot.nix
./hardware-configuration.nix
./network.nix
./services.nix
];
+ home-manager.users.seth = {
+ imports = [
+ ../../users/seth/desktop/gnome
+ ];
+ };
+
environment.etc."environment".text = ''
LIBVA_DRIVER_NAME=vdpau
'';
@@ -26,4 +37,6 @@ _: {
swapDevices = 1;
memoryPercent = 50;
};
+
+ system.stateVersion = "23.05";
}