diff options
author | Jasper Ras <jaspert.ras@gmail.com> | 2025-02-06 22:03:10 +0000 |
---|---|---|
committer | Jasper Ras <jaspert.ras@gmail.com> | 2025-02-06 22:19:49 +0000 |
commit | f71051f47158f57091306e269352d7579522e426 (patch) | |
tree | 3b112ddd10797c8669e9b68d483b205d49c3035b /configuration/tarrel/home-manager.nix | |
parent | 463f0d40c6ee02e5512269d2e370506a8ca8f965 (diff) |
bluurb
Diffstat (limited to 'configuration/tarrel/home-manager.nix')
-rw-r--r-- | configuration/tarrel/home-manager.nix | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/configuration/tarrel/home-manager.nix b/configuration/tarrel/home-manager.nix new file mode 100644 index 0000000..9709129 --- /dev/null +++ b/configuration/tarrel/home-manager.nix @@ -0,0 +1,42 @@ +{ pkgs, inputs, ... }: +{ + home-manager.useGlobalPkgs = true; + home-manager.useUserPackages = true; + home-manager.extraSpecialArgs = { inherit inputs; }; + home-manager.users.jras = { + 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"; + }; +} |