This commit is contained in:
2025-10-04 20:52:51 +01:00
parent 4af68046ea
commit c8d0b25409
8 changed files with 58 additions and 27 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ env=HYPRCURSOR_SIZE,24
env=XDG_CURRENT_DESKTOP,Hyprland env=XDG_CURRENT_DESKTOP,Hyprland
env=XDG_SESSION_TYPE,wayland env=XDG_SESSION_TYPE,wayland
env=XDG_SESSION_DESKTOP,Hyprland env=XDG_SESSION_DESKTOP,Hyprland
env=QT_QPA_PLATFORM,Hyprland env=QT_QPA_PLATFORM,wayland
env=XCURSOR_THEME,Bibata-Modern-Ice env=XCURSOR_THEME,Bibata-Modern-Ice
env=XCURSOR_SIZE,24 env=XCURSOR_SIZE,24
+1 -1
View File
@@ -1,7 +1,7 @@
background { background {
blur_passes=2 blur_passes=2
blur_size=8 blur_size=8
path=$HOME/pictures/.wallpapers/green-forest.png path=$HOME/pictures/.wallpapers/frieren-flowers.jpg
} }
general { general {
+17 -11
View File
@@ -6,20 +6,26 @@ longitude="-6.2"
# Startup # Startup
function execs() { function execs() {
systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP host=$1
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=river && systemctl --user restart xdg-desktop-portal xdg-desktop-portal-wlr
systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP &
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=river && systemctl --user restart xdg-desktop-portal xdg-desktop-portal-wlr &
rivertile -view-padding 1 -outer-padding 2 & rivertile -view-padding 1 -outer-padding 2 &
swaync & swaync &
# quickshell &
waybar &
hypridle &
emacs --daemon & emacs --daemon &
wl-clipboard-history -t & wl-clipboard-history -t &
wl-paste -p --watch wl-copy -p '' & wl-paste -p --watch wl-copy -p '' &
wlsunset -l "$longitude" -L "$latitude" & wlsunset -l "$longitude" -L "$latitude" &
swww-daemon & swww-daemon &
hyprlock &
fcitx5 -d & if [ $host == "lmdesktop" ]; then
# TODO: find alternative screenlocker/idle manager
quickshell &
elif [ $host == "darp8" ]; then
waybar &
hypridle &
hyprlock &
fi
} }
# Monitors # Monitors
@@ -28,7 +34,7 @@ function monitors() {
if [ $host == "lmdesktop" ] if [ $host == "lmdesktop" ]
then then
wlr-randr --output DP-1 --mode 2560x1440@143.973007Hz --pos 0,0 --scale 1 wlr-randr --output DP-1 --mode 2560x1440@143.973007Hz --pos 0,0 --scale 1 &&
wlr-randr --output HDMI-A-1 --mode 1920x1080@60Hz --pos 2560,180 --scale 1 wlr-randr --output HDMI-A-1 --mode 1920x1080@60Hz --pos 2560,180 --scale 1
elif [ $host == "darp8" ] elif [ $host == "darp8" ]
then then
@@ -170,11 +176,11 @@ function colors() {
for arg in "$@"; do declare $arg='1'; done for arg in "$@"; do declare $arg='1'; done
# Run Sections # Run Sections
monitors $HOSTNAME binds
layout
colors colors
inputs inputs
binds layout
monitors $HOSTNAME
# Don't run execs on reload # Don't run execs on reload
if ! [ -v no_execs ]; then execs ; fi if ! [ -v no_execs ]; then execs ; fi
+4
View File
@@ -4,6 +4,10 @@
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
hyprland.url = "github:hyprwm/Hyprland"; hyprland.url = "github:hyprwm/Hyprland";
caelestia-shell = {
url = "github:caelestia-dots/shell";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = { home-manager = {
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager";
+9 -1
View File
@@ -214,6 +214,7 @@
ghostty ghostty
glib glib
gnome-keyring gnome-keyring
inputs.caelestia-shell.packages.${system}."with-cli"
libdrm libdrm
libnotify libnotify
mesa mesa
@@ -225,6 +226,7 @@
usbutils usbutils
uxplay uxplay
vim vim
waypipe
wget wget
wl-clipboard wl-clipboard
xdg-user-dirs xdg-user-dirs
@@ -253,7 +255,13 @@
}; };
}; };
# services.openssh.enable = true; services.openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
PermitRootLogin = "no";
};
};
# This option defines the first version of NixOS you have installed on this particular machine # This option defines the first version of NixOS you have installed on this particular machine
# Do NOT change this value unless you have manually inspected all the changes it would make to your configuration, # Do NOT change this value unless you have manually inspected all the changes it would make to your configuration,
+5 -7
View File
@@ -31,6 +31,11 @@ in
outOfStoreSymlink = true; outOfStoreSymlink = true;
recursive = true; recursive = true;
}; };
".config/emacs" = {
source = ../../configs/emacs;
outOfStoreSymlink = true;
recursive = true;
};
".config/waybar" = { ".config/waybar" = {
source = ../../configs/waybar; source = ../../configs/waybar;
outOfStoreSymlink = true; outOfStoreSymlink = true;
@@ -61,12 +66,5 @@ in
outOfStoreSymlink = true; outOfStoreSymlink = true;
recursive = true; recursive = true;
}; };
# I have no idea why this is an issue...
# ".config/emacs" = {
# source = ../../configs/emacs;
# outOfStoreSymlink = true;
# recursive = true;
# };
}; };
} }
-5
View File
@@ -68,11 +68,6 @@
# ENV SETTINGS # ENV SETTINGS
xdg.enable = true; xdg.enable = true;
xdg.configFile = { xdg.configFile = {
"emacs" = {
recursive = true;
source = ../../configs/emacs;
};
"user-dirs.dirs".source = ../../configs/user-dirs.dirs; "user-dirs.dirs".source = ../../configs/user-dirs.dirs;
"user-dirs.locale".source = ../../configs/user-dirs.locale; "user-dirs.locale".source = ../../configs/user-dirs.locale;
}; };
+21 -1
View File
@@ -31,7 +31,7 @@
imagemagick imagemagick
kdePackages.kdenlive kdePackages.kdenlive
keepassxc keepassxc
libsForQt5.polkit-kde-agent kdePackages.polkit-kde-agent-1
localsend localsend
mpv mpv
mupdf mupdf
@@ -102,6 +102,26 @@
".." = "cd .."; ".." = "cd ..";
}; };
}; };
# caelestia = {
# enable = true;
# systemd = {
# enable = false;
# target = "graphical-session.target";
# environment = [ ];
# };
# settings = {
# bar.status = {
# showBattery = false;
# };
# paths.wallpaperDir = "~/pictures/.wallpapers";
# };
# cli = {
# enable = true;
# settings = {
# theme.enableGtk = false;
# };
# };
# };
emacs = { emacs = {
enable = true; enable = true;
package = pkgs.emacs-gtk; package = pkgs.emacs-gtk;