diff options
Diffstat (limited to 'nix/modules/home')
-rw-r--r-- | nix/modules/home/default.nix | 17 | ||||
-rw-r--r-- | nix/modules/home/hyprland.nix | 6 | ||||
-rw-r--r-- | nix/modules/home/user.nix | 11 |
3 files changed, 15 insertions, 19 deletions
diff --git a/nix/modules/home/default.nix b/nix/modules/home/default.nix index 45b0890..13966da 100644 --- a/nix/modules/home/default.nix +++ b/nix/modules/home/default.nix @@ -42,23 +42,8 @@ music.enable = lib.mkEnableOption "Enables mpd"; workstation.enable = lib.mkEnableOption "Enables workstation packages (music production and others)"; cuda.enable = lib.mkEnableOption "Enables CUDA user package builds"; + hyprland.enable = lib.mkEnableOption "Enables hyprland"; - hyprland = { - enable = lib.mkEnableOption "Enables hyprland"; - monitors = lib.mkOption { - type = lib.types.listOf lib.types.str; - default = [ - "HDMI-A-1" - "eDP-1" - "DP-2" - "DP-3" - "LVDS-1" - "DP-4" - ]; - example = []; - description = "Hyprland monitors"; - }; - }; email = { email = lib.mkOption { type = lib.types.str; diff --git a/nix/modules/home/hyprland.nix b/nix/modules/home/hyprland.nix index 36e1621..1463f90 100644 --- a/nix/modules/home/hyprland.nix +++ b/nix/modules/home/hyprland.nix @@ -7,6 +7,12 @@ systemd.enable = true; settings = { "$mod" = "SUPER"; + bezier = [ + "overshot,0,1,0,0.95" + ]; + animation = [ + "workspaces, 1, 10, overshot" + ]; exec-once = [ "waybar" "swww-daemon --format xrgb" diff --git a/nix/modules/home/user.nix b/nix/modules/home/user.nix index 882041b..85b6a70 100644 --- a/nix/modules/home/user.nix +++ b/nix/modules/home/user.nix @@ -62,12 +62,17 @@ pfetch libnotify htop - (writeShellScriptBin "install_vps" + (writeShellScriptBin "remote-build" '' #!/bin/bash -nix run github:nix-community/nixos-anywhere -- --generate-hardware-config nixos-generate-config ./systems/spontaneity/hardware-configuration.nix --flake .#spontaneity --target-host "$1" - '' +nixos-rebuild --target-host "$1" switch --flake .#spontaneity +'' ) + (writeShellScriptBin "install-vps" + '' +#!/bin/bash +nix run github:nix-community/nixos-anywhere -- --generate-hardware-config nixos-generate-config ./systems/spontaneity/hardware-configuration.nix --flake .#spontaneity --target-host "$1" + '') ] else [ pfetch |