This commit is contained in:
kenji
2025-07-15 17:44:14 -05:00
parent dd36c2711a
commit 33c6170c15
9 changed files with 108 additions and 37 deletions
Generated
+28 -6
View File
@@ -73,14 +73,15 @@
"flake-utils": "flake-utils", "flake-utils": "flake-utils",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
] ],
"quickshell": "quickshell"
}, },
"locked": { "locked": {
"lastModified": 1752550660, "lastModified": 1752553895,
"narHash": "sha256-cTIzmSA4ykmPKc+1BygDfet6uJVETez9ZgaR55iSDxs=", "narHash": "sha256-sXhqL2vcfGSry51Hf7uYretkCrfti6uzvd0YFwdLA1g=",
"ref": "refs/heads/master", "ref": "refs/heads/master",
"rev": "d45a34673a9b7f0001c8974af127af82752aad0c", "rev": "06c6711b13925b9b5970bd0dc17573bf5a618140",
"revCount": 5, "revCount": 8,
"type": "git", "type": "git",
"url": "https://git.sakamoto.dev/kenji/caelestia-nix" "url": "https://git.sakamoto.dev/kenji/caelestia-nix"
}, },
@@ -1039,6 +1040,27 @@
} }
}, },
"quickshell": { "quickshell": {
"inputs": {
"nixpkgs": [
"caelestia-shell",
"nixpkgs"
]
},
"locked": {
"lastModified": 1752486994,
"narHash": "sha256-/11zPRDdPPn61GXDyvDes9otFTP5lLqmETAtwMdeYWI=",
"ref": "refs/heads/master",
"rev": "5ac9096c1c63f6940c6b95f1118b540dfe029278",
"revCount": 632,
"type": "git",
"url": "https://git.outfoxxed.me/outfoxxed/quickshell"
},
"original": {
"type": "git",
"url": "https://git.outfoxxed.me/outfoxxed/quickshell"
}
},
"quickshell_2": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
@@ -1070,7 +1092,7 @@
"nixovim": "nixovim", "nixovim": "nixovim",
"nixpkgs": "nixpkgs_4", "nixpkgs": "nixpkgs_4",
"nur": "nur", "nur": "nur",
"quickshell": "quickshell" "quickshell": "quickshell_2"
} }
}, },
"rust-overlay": { "rust-overlay": {
+2
View File
@@ -45,6 +45,8 @@
nixpkgs.config.allowUnfree = myConfig.general.allowUnfree; nixpkgs.config.allowUnfree = myConfig.general.allowUnfree;
hardware.logitech.wireless.enable = true; hardware.logitech.wireless.enable = true;
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true;
hardware.graphics = { hardware.graphics = {
enable = true; enable = true;
enable32Bit = true; enable32Bit = true;
+47 -20
View File
@@ -23,24 +23,52 @@
]; ];
# Shell keybinds # Shell keybinds
bindi = [
"$mod, Super_L, global, caelestia:launcher" # bind to `bind` because `bindi` maps to it
# Launcher
];
bindin =
[
"$mod, catchall, global, caelestia:launcherInterrupt"
"$mod, mouse:272, global, caelestia:launcherInterrupt"
"$mod, mouse:273, global, caelestia:launcherInterrupt"
"$mod, mouse:274, global, caelestia:launcherInterrupt"
"$mod, mouse:275, global, caelestia:launcherInterrupt"
"$mod, mouse:276, global, caelestia:launcherInterrupt"
"$mod, mouse:277, global, caelestia:launcherInterrupt"
"$mod, mouse_up, global, caelestia:launcherInterrupt"
"$mod, mouse_down, global, caelestia:launcherInterrupt"
"$mod, K, global, caelestia:launcherInterrupt"
"$mod, H, global, caelestia:launcherInterrupt"
"$mod, J, global, caelestia:launcherInterrupt"
"$mod, L, global, caelestia:launcherInterrupt"
"$mod, W, global, caelestia:launcherInterrupt"
"$mod, Q, global, caelestia:launcherInterrupt"
"$mod, C, global, caelestia:launcherInterrupt"
"$mod, Return, global, caelestia:launcherInterrupt"
]
++ (
# Go to workspace group #
builtins.concatLists (builtins.genList (
i: let
ws = i + 1;
in [
"$mod, ${toString ws}, global, caelestia:launcherInterrupt"
]
)
9)
)
++ [
"$mod, 0, global, caelestia:launcherInterrupt"
];
bind = bind =
[ [
# Launcher
"$mod, Super_L, exec, caelestia launcher" # bind to `bind` because `bindi` maps to it
"$mod, catchall, exec, caelestia launcherInterrupt" # bindin
"$mod, mouse:272, exec, caelestia launcherInterrupt" # bindin
"$mod, mouse:273, exec, caelestia launcherInterrupt" # bindin
"$mod, mouse:274, exec, caelestia launcherInterrupt" # bindin
"$mod, mouse:275, exec, caelestia launcherInterrupt" # bindin
"$mod, mouse:276, exec, caelestia launcherInterrupt" # bindin
"$mod, mouse:277, exec, caelestia launcherInterrupt" # bindin
"$mod, mouse_up, exec, caelestia launcherInterrupt" # bindin
"$mod, mouse_down, exec, caelestia launcherInterrupt" # bindin
# Misc # Misc
"Control+Alt, Delete, exec, caelestia session" "Control+Alt, Delete, exec, caelestia:session"
"$mod, K, exec, caelestia showall" "$mod, MINUS, global, caelestia:showall"
"$mod, L, exec, caelestia lock" "$mod, PLUS, global, caelestia:lock"
# Restore lock - these are `bindl` in your original, but `exec` should be fine here. # Restore lock - these are `bindl` in your original, but `exec` should be fine here.
# However, `bindl` is typically for a *release* event. If `caelestia shell -d` is a daemon, # However, `bindl` is typically for a *release* event. If `caelestia shell -d` is a daemon,
@@ -51,10 +79,9 @@
# Apps # Apps
"$mod, Return, exec, app2unit -- kitty" "$mod, Return, exec, app2unit -- kitty"
"$mod, W, exec, app2unit -- zen-browser" "$mod, W, exec, app2unit -- firefox"
"$mod, C, exec, app2unit -- codium"
"$mod, G, exec, app2unit -- github-desktop"
"$mod, E, exec, app2unit -- thunar" "$mod, E, exec, app2unit -- thunar"
"$mod, Q, killactive"
"$mod ALT, E, exec, app2unit -- nemo" "$mod ALT, E, exec, app2unit -- nemo"
"Control+Alt, Escape, exec, app2unit -- qps" "Control+Alt, Escape, exec, app2unit -- qps"
"Control+Alt, V, exec, app2unit -- pavucontrol" "Control+Alt, V, exec, app2unit -- pavucontrol"
@@ -166,13 +193,13 @@
i: let i: let
ws = i + 1; ws = i + 1;
in [ in [
"$mod ALT, ${toString ws}, exec, ${wsaction} movetoworkspace ${toString ws}" "$mod SHIFT, ${toString ws}, exec, ${wsaction} movetoworkspace ${toString ws}"
] ]
) )
9) 9)
) )
++ [ ++ [
"$mod ALT, 0, exec, ~/.config/hypr/scripts/wsaction.fish movetoworkspace 10" "$mod SHIFT, 0, exec, ~/.config/hypr/scripts/wsaction.fish movetoworkspace 10"
] ]
++ ( ++ (
# Move window to workspace group # # Move window to workspace group #
+12
View File
@@ -0,0 +1,12 @@
{
config,
pkgs,
myConfig,
...
}: {
wayland.windowManager.hyprland.settings = {
env = [
""
];
};
}
+1 -1
View File
@@ -12,9 +12,9 @@
"hyprctl setcursor Bibata-Modern-Ice 24" "hyprctl setcursor Bibata-Modern-Ice 24"
"solaar -w hide" "solaar -w hide"
"matugen image /home/${myConfig.essentials.Username}/Pictures/Wallpapers/ultrawide-nixos-default.png"
"sunshine" "sunshine"
"moondeck-buddy" "moondeck-buddy"
"qs -c caelestia"
]; ];
}; };
} }
+1
View File
@@ -87,6 +87,7 @@
"3, monitor:DP-1" "3, monitor:DP-1"
"4, monitor:DP-1" "4, monitor:DP-1"
"5, monitor:DP-1" "5, monitor:DP-1"
"6, monitor:DP-2"
]; ];
# ######## Layer rules ######## # ######## Layer rules ########
+1
View File
@@ -24,6 +24,7 @@
"$term" = "kitty --single-instance"; "$term" = "kitty --single-instance";
"$browser" = "firefox"; "$browser" = "firefox";
"$wsaction" = "fish -c ./scripts/wsaction.fish"; "$wsaction" = "fish -c ./scripts/wsaction.fish";
"$widget" = "qs -c caelestia";
monitor = myConfig.nixos.Hyprland.monitors; monitor = myConfig.nixos.Hyprland.monitors;
general = { general = {
+8 -6
View File
@@ -1,14 +1,16 @@
{ {
inputs, inputs,
pkgs, pkgs,
system,
... ...
}: { }: {
imports = [ environment.systemPackages = [
inputs.caelestia-shell.nixosModules.default inputs.caelestia-shell.packages.${system}.caelestia-shell
inputs.caelestia-shell.packages.${system}.caelestia-cli
inputs.caelestia-shell.packages.${system}.beat-detector
]; ];
servies.caelestia-shell = { environment.sessionVariables = {
enable = true; # Set CAELESTIA_BD_PATH to the store path of beat-detector
config = { CAELESTIA_BD_PATH = "${inputs.caelestia-shell.packages.${system}.beat-detector}/bin/beat_detector";
};
}; };
} }
+8 -4
View File
@@ -1,6 +1,7 @@
{ {
pkgs, pkgs,
inputs, inputs,
system,
... ...
}: let }: let
caelestia-shell = pkgs.fetchFromGitHub { caelestia-shell = pkgs.fetchFromGitHub {
@@ -13,13 +14,16 @@ in {
imports = [ imports = [
]; ];
home.packages = with pkgs; [ home.packages = with pkgs; [
inputs.quickshell.packages.${system}.default
hyprpicker
qalculate-qt
fuzzel fuzzel
inotify-tools inotify-tools
app2unit app2unit
quickshell
fish fish
jq jq
fd fd
cliphist
(pkgs.python3.withPackages (python-pkgs: (pkgs.python3.withPackages (python-pkgs:
with python-pkgs; [ with python-pkgs; [
aubio aubio
@@ -33,7 +37,7 @@ in {
curl curl
material-symbols material-symbols
]; ];
# home.file.".config/quickshell/caelestia" = { home.file.".config/quickshell/caelestia" = {
# source = caelestia-shell; source = caelestia-shell;
# }; };
} }