mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-25 02:03:51 -08:00
Compare commits
3 commits
f05231223b
...
49c72907d9
Author | SHA1 | Date | |
---|---|---|---|
49c72907d9 | |||
23f6326c2b | |||
675f37c5b1 |
4 changed files with 34 additions and 23 deletions
|
@ -69,7 +69,7 @@
|
||||||
apple-silicon,
|
apple-silicon,
|
||||||
...
|
...
|
||||||
} @ inputs: let
|
} @ inputs: let
|
||||||
in rec {
|
in {
|
||||||
formatter = with nixpkgs.legacyPackages; {
|
formatter = with nixpkgs.legacyPackages; {
|
||||||
x86_64-linux = x86_64-linux.alejandra;
|
x86_64-linux = x86_64-linux.alejandra;
|
||||||
aarch64-linux = aarch64-linux.alejandra;
|
aarch64-linux = aarch64-linux.alejandra;
|
||||||
|
|
9
modules/nixos/spotifyd/default.nix
Normal file
9
modules/nixos/spotifyd/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
services.spotifyd = {
|
||||||
|
enable = true;
|
||||||
|
# settings = {global = 320;};
|
||||||
|
};
|
||||||
|
environment.systemPackages = [
|
||||||
|
pkgs.spotify-player
|
||||||
|
];
|
||||||
|
}
|
|
@ -4,16 +4,34 @@
|
||||||
system,
|
system,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
wl-clipboard
|
||||||
|
grim
|
||||||
|
slurp
|
||||||
|
swappy
|
||||||
|
pavucontrol
|
||||||
|
waypaper
|
||||||
|
swaybg
|
||||||
|
pamixer
|
||||||
|
brightnessctl
|
||||||
|
|
||||||
|
bibata-cursors
|
||||||
|
libsForQt5.qtstyleplugin-kvantum
|
||||||
|
libsForQt5.qt5ct
|
||||||
|
papirus-icon-theme
|
||||||
|
libsForQt5.qt5ct
|
||||||
|
];
|
||||||
|
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = inputs.stablepkgs.legacyPackages.${system}.hyprland;
|
package = inputs.stablepkgs.legacyPackages.${system}.hyprland;
|
||||||
settings = {
|
settings = {
|
||||||
exec-once = ["waypaper --restore"];
|
exec-once = ["waypaper --restore"];
|
||||||
"$mod" = "SUPER";
|
"$mod" = "SUPER";
|
||||||
"$Left" = "Y";
|
"$Left" = "H";
|
||||||
"$Right" = "O";
|
"$Right" = "L";
|
||||||
"$Up" = "I";
|
"$Up" = "K";
|
||||||
"$Down" = "U";
|
"$Down" = "J";
|
||||||
env = [
|
env = [
|
||||||
"HYPRCURSOR_THEME,Bibata-Modern-Ice"
|
"HYPRCURSOR_THEME,Bibata-Modern-Ice"
|
||||||
"HYPRCURSOR_SIZE,26"
|
"HYPRCURSOR_SIZE,26"
|
||||||
|
@ -30,7 +48,7 @@
|
||||||
# Window actions
|
# Window actions
|
||||||
"$mod, Q, killactive"
|
"$mod, Q, killactive"
|
||||||
"$mod, W, togglefloating"
|
"$mod, W, togglefloating"
|
||||||
"$mod, J, togglesplit"
|
"$mod, V, togglesplit"
|
||||||
"$mod, Return, fullscreen"
|
"$mod, Return, fullscreen"
|
||||||
|
|
||||||
# Move around
|
# Move around
|
||||||
|
@ -73,7 +91,7 @@
|
||||||
|
|
||||||
"$mod, Backspace, exec, wlogout" # show logout menu
|
"$mod, Backspace, exec, wlogout" # show logout menu
|
||||||
|
|
||||||
"$mod, L, exec, hyprlock"
|
"$mod, I, exec, hyprlock"
|
||||||
|
|
||||||
# System control
|
# System control
|
||||||
",XF86MonBrightnessDown, exec, brightnessctl set 5%-"
|
",XF86MonBrightnessDown, exec, brightnessctl set 5%-"
|
||||||
|
|
|
@ -22,15 +22,6 @@ with pkgs; [
|
||||||
usbutils # lsusb
|
usbutils # lsusb
|
||||||
|
|
||||||
# desktop utils
|
# desktop utils
|
||||||
wl-clipboard
|
|
||||||
grim
|
|
||||||
slurp
|
|
||||||
swappy
|
|
||||||
pavucontrol
|
|
||||||
waypaper
|
|
||||||
swaybg
|
|
||||||
pamixer
|
|
||||||
brightnessctl
|
|
||||||
bitwarden-cli
|
bitwarden-cli
|
||||||
|
|
||||||
# desktop apps
|
# desktop apps
|
||||||
|
@ -40,11 +31,4 @@ with pkgs; [
|
||||||
signal-desktop
|
signal-desktop
|
||||||
|
|
||||||
gcc
|
gcc
|
||||||
|
|
||||||
# desktop ricing
|
|
||||||
bibata-cursors
|
|
||||||
libsForQt5.qtstyleplugin-kvantum
|
|
||||||
libsForQt5.qt5ct
|
|
||||||
papirus-icon-theme
|
|
||||||
libsForQt5.qt5ct
|
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue