summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--home/ebisu/fortune/desktop/hyprland/hyprland/executions.nix1
-rw-r--r--home/ebisu/fortune/development/nix/default.nix6
-rw-r--r--home/ebisu/fortune/development/nix/lorri.nix10
-rw-r--r--home/ebisu/fortune/network/tools/default.nix1
-rw-r--r--home/ebisu/fortune/scripts/scripts/neovide-lunarvim2
-rwxr-xr-xhome/ebisu/fortune/scripts/scripts/start-vm4
-rw-r--r--home/ebisu/fortune/system/variables.nix2
7 files changed, 20 insertions, 6 deletions
diff --git a/home/ebisu/fortune/desktop/hyprland/hyprland/executions.nix b/home/ebisu/fortune/desktop/hyprland/hyprland/executions.nix
index d959c50..2b2d18f 100644
--- a/home/ebisu/fortune/desktop/hyprland/hyprland/executions.nix
+++ b/home/ebisu/fortune/desktop/hyprland/hyprland/executions.nix
@@ -12,6 +12,7 @@
# "${pkgs.waybar}/bin/waybar"
"waybar"
"hyprctl setcursor Bibata-Modern-Ice 18"
+ "trayscale"
# Fcitx5
"fcitx5-remote -r"
diff --git a/home/ebisu/fortune/development/nix/default.nix b/home/ebisu/fortune/development/nix/default.nix
index 1dd7ab1..c713393 100644
--- a/home/ebisu/fortune/development/nix/default.nix
+++ b/home/ebisu/fortune/development/nix/default.nix
@@ -5,8 +5,10 @@
...
}:
{
- imports = [ ./direnv.nix ];
- services.lorri.enable = true;
+ imports = [
+ ./direnv.nix
+ ./lorri.nix
+ ];
home.packages = with pkgs; [
nil
diff --git a/home/ebisu/fortune/development/nix/lorri.nix b/home/ebisu/fortune/development/nix/lorri.nix
new file mode 100644
index 0000000..4a765f9
--- /dev/null
+++ b/home/ebisu/fortune/development/nix/lorri.nix
@@ -0,0 +1,10 @@
+{ pkgs, ... }:
+{
+ services.lorri.enable = true;
+
+ # https://github.com/NixOS/nixpkgs/pull/275024#issuecomment-1874303894
+ systemd.user.services.lorri.serviceConfig = {
+ ProtectSystem = pkgs.lib.mkForce "full";
+ ProtectHome = pkgs.lib.mkForce false;
+ };
+}
diff --git a/home/ebisu/fortune/network/tools/default.nix b/home/ebisu/fortune/network/tools/default.nix
index 30aa4b5..ad475a8 100644
--- a/home/ebisu/fortune/network/tools/default.nix
+++ b/home/ebisu/fortune/network/tools/default.nix
@@ -19,5 +19,6 @@
iptraf-ng
tcpdump
(pkgs.callPackage ../../../../../pkgs/bindtointerface.nix { })
+ trayscale
];
}
diff --git a/home/ebisu/fortune/scripts/scripts/neovide-lunarvim b/home/ebisu/fortune/scripts/scripts/neovide-lunarvim
index 502a3f1..7faffd2 100644
--- a/home/ebisu/fortune/scripts/scripts/neovide-lunarvim
+++ b/home/ebisu/fortune/scripts/scripts/neovide-lunarvim
@@ -1,4 +1,4 @@
-# ref: https://aur.archlinux.org/cgit/aur.git/tree/script.sh?h=neovide-lunarvim
+# https://aur.archlinux.org/cgit/aur.git/tree/script.sh?h=neovide-lunarvim
export LUNARVIM_CONFIG_DIR="${LUNARVIM_CONFIG_DIR:-$HOME/.config/lvim}"
export LUNARVIM_RUNTIME_DIR="${LUNARVIM_RUNTIME_DIR:-$HOME/.local/share/lunarvim}"
diff --git a/home/ebisu/fortune/scripts/scripts/start-vm b/home/ebisu/fortune/scripts/scripts/start-vm
index df372c1..03e12ce 100755
--- a/home/ebisu/fortune/scripts/scripts/start-vm
+++ b/home/ebisu/fortune/scripts/scripts/start-vm
@@ -1,9 +1,9 @@
# Virtual machine start script
-# ref: https://askubuntu.com/questions/425754/how-do-i-run-a-sudo-command-inside-a-script
+# https://askubuntu.com/questions/425754/how-do-i-run-a-sudo-command-inside-a-script
USER_ID=$(id -u)
-# ref: https://askubuntu.com/a/30157/8698
+# https://askubuntu.com/a/30157/8698
if ! [[ ${USER_ID} = 0 ]]; then
echo "The script need to be run as root. >:)" >&2
diff --git a/home/ebisu/fortune/system/variables.nix b/home/ebisu/fortune/system/variables.nix
index 4b7695b..3bae980 100644
--- a/home/ebisu/fortune/system/variables.nix
+++ b/home/ebisu/fortune/system/variables.nix
@@ -6,7 +6,7 @@
}:
{
home.sessionVariables = {
- # ref: https://github.com/nix-community/home-manager/issues/354#issuecomment-475803163
+ # https://github.com/nix-community/home-manager/issues/354#issuecomment-475803163
LOCALES_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive";
FLAKE = "${config.home.homeDirectory}/.nixos-config";