summaryrefslogtreecommitdiff
path: root/configuration/home-manager/tarrel.nix
diff options
context:
space:
mode:
Diffstat (limited to 'configuration/home-manager/tarrel.nix')
-rw-r--r--configuration/home-manager/tarrel.nix38
1 files changed, 38 insertions, 0 deletions
diff --git a/configuration/home-manager/tarrel.nix b/configuration/home-manager/tarrel.nix
new file mode 100644
index 0000000..a8ddb9f
--- /dev/null
+++ b/configuration/home-manager/tarrel.nix
@@ -0,0 +1,38 @@
+{ pkgs, ... }:
+{
+ imports = [
+ ../home-manager/core
+ ../home-manager/hyprland.nix
+ ];
+
+ home.username = "jras";
+ home.homeDirectory = "/home/jras";
+ home.stateVersion = "23.11";
+
+ programs.git = {
+ userName = "Jasper Ras";
+ userEmail = "jaspert.ras@gmail.com";
+ };
+
+ home.file = {
+ gamestream-start = {
+ text = ''
+ #!${pkgs.zsh}/bin/zsh
+ ${pkgs.hyprland}/bin/hyprctl keyword monitor HDMI-A-1,1920x1080@59.94,auto,2
+ '';
+ target = "bin/gamestream-start";
+ executable = true;
+ };
+ gamestream-end = {
+ text = ''
+ #!${pkgs.zsh}/bin/zsh
+ ${pkgs.hyprland}/bin/hyprctl keyword monitor HDMI-A-1,preferred,auto,1
+ '';
+ target = "bin/gamestream-end";
+ executable = true;
+ };
+ };
+
+ programs.zsh.envExtra = "export PATH=$HOME/bin:$PATH";
+ };
+}