summaryrefslogtreecommitdiff
path: root/nodes/tarrel/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nodes/tarrel/configuration.nix')
-rw-r--r--nodes/tarrel/configuration.nix55
1 files changed, 55 insertions, 0 deletions
diff --git a/nodes/tarrel/configuration.nix b/nodes/tarrel/configuration.nix
new file mode 100644
index 0000000..04bc978
--- /dev/null
+++ b/nodes/tarrel/configuration.nix
@@ -0,0 +1,55 @@
+{ config, inputs, ... }:
+{
+ imports = [
+ inputs.home-manager.nixosModules.home-manager
+ inputs.agenix.nixosModules.default
+ inputs.disko.nixosModules.disko
+
+ ./hardware-configuration.nix
+ ./home-manager.nix
+
+ ../../modules/core
+ ../../modules/hyprland.nix
+ ];
+
+ system.stateVersion = "24.05";
+
+ networking.hostName = "tarrel";
+ networking.networkmanager.enable = true;
+
+ time.timeZone = "Europe/Amsterdam";
+
+ users.users.jras.extraGroups = [ "networkmanager" ];
+
+ boot.loader.systemd-boot.enable = true;
+ boot.loader.efi.canTouchEfiVariables = true;
+
+ hardware.graphics.enable = true;
+ services.xserver.videoDrivers = ["nvidia"];
+ hardware.nvidia = {
+ modesetting.enable = true;
+ nvidiaSettings = true;
+ nvidiaPersistenced = true;
+ open = true;
+
+ package = config.boot.kernelPackages.nvidiaPackages.stable;
+ };
+
+ security.rtkit.enable = true;
+
+ environment.sessionVariables = {
+ TERMINAL = "alacritty";
+ EDITOR = "helix";
+ };
+
+ environment.pathsToLink = [ "/libexec" ];
+
+ services.sunshine = {
+ enable = true;
+ autoStart = true;
+ capSysAdmin = true;
+ openFirewall = true;
+ };
+
+ programs.steam.enable = true;
+}