From 0c5259fac4b88bbea5e1429896892a51e841e1cf Mon Sep 17 00:00:00 2001 From: Yusuf Bera Ertan Date: Fri, 21 Oct 2022 18:30:00 +0300 Subject: [PATCH] g --- flake.lock | 6 +++--- hosts/tkaronto/modules/joycond.nix | 3 --- hosts/tkaronto/modules/weylus.nix | 6 ++++++ users/modules/godot/default.nix | 3 +++ users/modules/hyprland/config.nix | 1 + users/modules/hyprland/default.nix | 1 + users/patriot/default.nix | 4 +++- 7 files changed, 17 insertions(+), 7 deletions(-) delete mode 100644 hosts/tkaronto/modules/joycond.nix create mode 100644 hosts/tkaronto/modules/weylus.nix create mode 100644 users/modules/godot/default.nix diff --git a/flake.lock b/flake.lock index fd69bd2..e123968 100644 --- a/flake.lock +++ b/flake.lock @@ -897,11 +897,11 @@ }, "nur": { "locked": { - "lastModified": 1664475443, - "narHash": "sha256-l3Re7eo0vOwTQTcJPrXQStG4i4of2eKkdDdDG96z1ZA=", + "lastModified": 1664885842, + "narHash": "sha256-k8JVyQrgtxK9ds6qQBRRcWERy0MIJXJME2hxdwKg/a4=", "owner": "nix-community", "repo": "NUR", - "rev": "05e2f3d002a53eeb192d5e8521c6d38f24609681", + "rev": "b9bcb3284b3eb365d8214e6fc62c458fb993e649", "type": "github" }, "original": { diff --git a/hosts/tkaronto/modules/joycond.nix b/hosts/tkaronto/modules/joycond.nix deleted file mode 100644 index 44466ea..0000000 --- a/hosts/tkaronto/modules/joycond.nix +++ /dev/null @@ -1,3 +0,0 @@ -{ - services.joycond.enable = true; -} diff --git a/hosts/tkaronto/modules/weylus.nix b/hosts/tkaronto/modules/weylus.nix new file mode 100644 index 0000000..23116e2 --- /dev/null +++ b/hosts/tkaronto/modules/weylus.nix @@ -0,0 +1,6 @@ +{ + programs.weylus = { + enable = true; + openFirewall = true; + }; +} diff --git a/users/modules/godot/default.nix b/users/modules/godot/default.nix new file mode 100644 index 0000000..bf397e9 --- /dev/null +++ b/users/modules/godot/default.nix @@ -0,0 +1,3 @@ +{pkgs, ...}: { + home.packages = with pkgs; [godot godot-headless godot-server]; +} diff --git a/users/modules/hyprland/config.nix b/users/modules/hyprland/config.nix index 28dc894..2103ec5 100644 --- a/users/modules/hyprland/config.nix +++ b/users/modules/hyprland/config.nix @@ -25,6 +25,7 @@ in { exec-once=xprop -root -f _XWAYLAND_GLOBAL_OUTPUT_SCALE 32c -set _XWAYLAND_GLOBAL_OUTPUT_SCALE 2 exec-once=swaybg -i ~/.config/wallpaper + exec-once=mpvpaper -p -o "no-audio loop-file=inf" eDP-1 ~/.config/wallpaper.mp4 exec-once=eww open-many bar notifications_win input { diff --git a/users/modules/hyprland/default.nix b/users/modules/hyprland/default.nix index 6d69e43..56da3fd 100644 --- a/users/modules/hyprland/default.nix +++ b/users/modules/hyprland/default.nix @@ -27,6 +27,7 @@ playerctl wlogout swaybg + mpvpaper ]; wayland.windowManager.hyprland = { diff --git a/users/patriot/default.nix b/users/patriot/default.nix index 35d72e1..affa1af 100644 --- a/users/patriot/default.nix +++ b/users/patriot/default.nix @@ -54,6 +54,7 @@ in { # gnome stuffs seahorse.enable = true; dconf.enable = true; + weylus.users = ["patriot"]; }; services = { syncthing.folders = { @@ -103,7 +104,7 @@ in { # cli stuff ["zoxide" "zsh" "fzf" "starship" "direnv"] # dev stuff - ["helix" "git" "ssh" "obsidian"] + ["helix" "git" "ssh" "obsidian" "godot"] ]; in l.flatten [ @@ -145,6 +146,7 @@ in { ]; files = l.flatten [ ".config/wallpaper" + ".config/wallpaper.mp4" (lib.removePrefix "~/" config.programs.ssh.userKnownHostsFile) ]; allowOther = true;