mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-24 17:53: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,
|
||||
...
|
||||
} @ inputs: let
|
||||
in rec {
|
||||
in {
|
||||
formatter = with nixpkgs.legacyPackages; {
|
||||
x86_64-linux = x86_64-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,
|
||||
...
|
||||
}: {
|
||||
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 = {
|
||||
enable = true;
|
||||
package = inputs.stablepkgs.legacyPackages.${system}.hyprland;
|
||||
settings = {
|
||||
exec-once = ["waypaper --restore"];
|
||||
"$mod" = "SUPER";
|
||||
"$Left" = "Y";
|
||||
"$Right" = "O";
|
||||
"$Up" = "I";
|
||||
"$Down" = "U";
|
||||
"$Left" = "H";
|
||||
"$Right" = "L";
|
||||
"$Up" = "K";
|
||||
"$Down" = "J";
|
||||
env = [
|
||||
"HYPRCURSOR_THEME,Bibata-Modern-Ice"
|
||||
"HYPRCURSOR_SIZE,26"
|
||||
|
@ -30,7 +48,7 @@
|
|||
# Window actions
|
||||
"$mod, Q, killactive"
|
||||
"$mod, W, togglefloating"
|
||||
"$mod, J, togglesplit"
|
||||
"$mod, V, togglesplit"
|
||||
"$mod, Return, fullscreen"
|
||||
|
||||
# Move around
|
||||
|
@ -73,7 +91,7 @@
|
|||
|
||||
"$mod, Backspace, exec, wlogout" # show logout menu
|
||||
|
||||
"$mod, L, exec, hyprlock"
|
||||
"$mod, I, exec, hyprlock"
|
||||
|
||||
# System control
|
||||
",XF86MonBrightnessDown, exec, brightnessctl set 5%-"
|
||||
|
|
|
@ -22,15 +22,6 @@ with pkgs; [
|
|||
usbutils # lsusb
|
||||
|
||||
# desktop utils
|
||||
wl-clipboard
|
||||
grim
|
||||
slurp
|
||||
swappy
|
||||
pavucontrol
|
||||
waypaper
|
||||
swaybg
|
||||
pamixer
|
||||
brightnessctl
|
||||
bitwarden-cli
|
||||
|
||||
# desktop apps
|
||||
|
@ -40,11 +31,4 @@ with pkgs; [
|
|||
signal-desktop
|
||||
|
||||
gcc
|
||||
|
||||
# desktop ricing
|
||||
bibata-cursors
|
||||
libsForQt5.qtstyleplugin-kvantum
|
||||
libsForQt5.qt5ct
|
||||
papirus-icon-theme
|
||||
libsForQt5.qt5ct
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue