Compare commits
3 Commits
a13676311a
...
spotifyd
| Author | SHA1 | Date | |
|---|---|---|---|
| 9b10f4abe0 | |||
| a53519c339 | |||
| e88670ed60 |
24
flake.lock
generated
24
flake.lock
generated
@@ -52,34 +52,10 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"plasma-manager": {
|
|
||||||
"inputs": {
|
|
||||||
"home-manager": [
|
|
||||||
"home-manager"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1728750492,
|
|
||||||
"narHash": "sha256-9IHlIsH4gLqQjS2lFbEnsl/ItdqzBBLWLsyXS0k0jf8=",
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "plasma-manager",
|
|
||||||
"rev": "c6d4b6f3e0138c08f37d66fcfbcbe37dab08f108",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "plasma-manager",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"plasma-manager": "plasma-manager",
|
|
||||||
"sops-nix": "sops-nix"
|
"sops-nix": "sops-nix"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -13,12 +13,6 @@
|
|||||||
url = "github:nix-community/home-manager";
|
url = "github:nix-community/home-manager";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
plasma-manager = {
|
|
||||||
url = "github:nix-community/plasma-manager";
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
inputs.home-manager.follows = "home-manager";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, ... } @ inputs: let
|
outputs = { self, nixpkgs, ... } @ inputs: let
|
||||||
@@ -29,7 +23,6 @@
|
|||||||
{
|
{
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.sharedModules = [ inputs.plasma-manager.homeManagerModules.plasma-manager ];
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
in {
|
in {
|
||||||
|
|||||||
@@ -104,9 +104,8 @@
|
|||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
./modules/emacs
|
./modules/emacs
|
||||||
./modules/i3+sway
|
|
||||||
./modules/lutris
|
./modules/lutris
|
||||||
./modules/plasma-manager
|
./modules/i3+sway
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.bash.enable = true;
|
programs.bash.enable = true;
|
||||||
|
|||||||
@@ -129,13 +129,6 @@ in {
|
|||||||
"type:keyboard" = {
|
"type:keyboard" = {
|
||||||
xkb_options = "caps:escape";
|
xkb_options = "caps:escape";
|
||||||
};
|
};
|
||||||
"type:touchpad" = {
|
|
||||||
tap = "enabled";
|
|
||||||
tap_button_map = "lrm";
|
|
||||||
drag = "enabled";
|
|
||||||
natural_scroll = "disabled";
|
|
||||||
dwt = "enabled";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
|
|||||||
@@ -1,301 +0,0 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
|
||||||
|
|
||||||
|
|
||||||
# The following can be generated with the command:
|
|
||||||
# nix run github:nix-community/plasma-manager
|
|
||||||
#
|
|
||||||
# Plasma-manager options documentation
|
|
||||||
# https://nix-community.github.io/plasma-manager/options.xhtml
|
|
||||||
#
|
|
||||||
# Polonium usage
|
|
||||||
# https://github.com/zeroxoneafour/polonium/blob/master/docs/usage.md
|
|
||||||
#
|
|
||||||
# TODO: Extract this configuration into something that's a bit easier to manage
|
|
||||||
# TODO: Update shortcuts for better window/tiling/desktop management akin to i3wm
|
|
||||||
# TODO(ambitious): Add Kmail support to plasma-manager
|
|
||||||
{
|
|
||||||
programs.plasma = {
|
|
||||||
enable = true;
|
|
||||||
shortcuts = {
|
|
||||||
"ActivityManager"."switch-to-activity-3756b222-d0a9-4f71-827b-62d27908d7cb" = [ ];
|
|
||||||
"KDE Keyboard Layout Switcher"."Switch to Last-Used Keyboard Layout" = "Meta+Alt+L";
|
|
||||||
"KDE Keyboard Layout Switcher"."Switch to Next Keyboard Layout" = "Meta+Alt+K";
|
|
||||||
"kaccess"."Toggle Screen Reader On and Off" = "Meta+Alt+S";
|
|
||||||
"kcm_touchpad"."Disable Touchpad" = "Touchpad Off";
|
|
||||||
"kcm_touchpad"."Enable Touchpad" = "Touchpad On";
|
|
||||||
"kcm_touchpad"."Toggle Touchpad" = ["Touchpad Toggle" "Meta+Ctrl+Zenkaku Hankaku,Touchpad Toggle" "Meta+Ctrl+Zenkaku Hankaku,Toggle Touchpad"];
|
|
||||||
"kmix"."decrease_microphone_volume" = "Microphone Volume Down";
|
|
||||||
"kmix"."decrease_volume" = "Volume Down";
|
|
||||||
"kmix"."decrease_volume_small" = "Shift+Volume Down";
|
|
||||||
"kmix"."increase_microphone_volume" = "Microphone Volume Up";
|
|
||||||
"kmix"."increase_volume" = "Volume Up";
|
|
||||||
"kmix"."increase_volume_small" = "Shift+Volume Up";
|
|
||||||
"kmix"."mic_mute" = ["Microphone Mute" "Meta+Volume Mute,Microphone Mute" "Meta+Volume Mute,Mute Microphone"];
|
|
||||||
"kmix"."mute" = "Volume Mute";
|
|
||||||
"ksmserver"."Halt Without Confirmation" = "none,,Shut Down Without Confirmation";
|
|
||||||
"ksmserver"."Lock Session" = ["Meta+L" "Screensaver,Meta+L" "Screensaver,Lock Session"];
|
|
||||||
"ksmserver"."Log Out" = "Ctrl+Alt+Del";
|
|
||||||
"ksmserver"."Log Out Without Confirmation" = "none,,Log Out Without Confirmation";
|
|
||||||
"ksmserver"."LogOut" = "none,,Log Out";
|
|
||||||
"ksmserver"."Reboot" = "none,,Reboot";
|
|
||||||
"ksmserver"."Reboot Without Confirmation" = "none,,Reboot Without Confirmation";
|
|
||||||
"ksmserver"."Shut Down" = "none,,Shut Down";
|
|
||||||
"kwin"."Activate Window Demanding Attention" = "Meta+Ctrl+A";
|
|
||||||
"kwin"."Cycle Overview" = [ ];
|
|
||||||
"kwin"."Cycle Overview Opposite" = [ ];
|
|
||||||
"kwin"."Decrease Opacity" = "none,,Decrease Opacity of Active Window by 5%";
|
|
||||||
"kwin"."Edit Tiles" = "Meta+T";
|
|
||||||
"kwin"."Expose" = "Ctrl+F9";
|
|
||||||
"kwin"."ExposeAll" = ["Ctrl+F10" "Launch (C),Ctrl+F10" "Launch (C),Toggle Present Windows (All desktops)"];
|
|
||||||
"kwin"."ExposeClass" = "Ctrl+F7";
|
|
||||||
"kwin"."ExposeClassCurrentDesktop" = [ ];
|
|
||||||
"kwin"."Grid View" = "Meta+G";
|
|
||||||
"kwin"."Increase Opacity" = "none,,Increase Opacity of Active Window by 5%";
|
|
||||||
"kwin"."Kill Window" = "Meta+Ctrl+Esc";
|
|
||||||
"kwin"."Move Tablet to Next Output" = [ ];
|
|
||||||
"kwin"."MoveMouseToCenter" = "Meta+F6";
|
|
||||||
"kwin"."MoveMouseToFocus" = "Meta+F5";
|
|
||||||
"kwin"."MoveZoomDown" = [ ];
|
|
||||||
"kwin"."MoveZoomLeft" = [ ];
|
|
||||||
"kwin"."MoveZoomRight" = [ ];
|
|
||||||
"kwin"."MoveZoomUp" = [ ];
|
|
||||||
"kwin"."Overview" = "Meta+W";
|
|
||||||
"kwin"."Setup Window Shortcut" = "none,,Setup Window Shortcut";
|
|
||||||
"kwin"."Show Desktop" = "Meta+D";
|
|
||||||
"kwin"."Suspend Compositing" = "Alt+Shift+F12";
|
|
||||||
"kwin"."Switch One Desktop Down" = "Meta+Ctrl+Down";
|
|
||||||
"kwin"."Switch One Desktop Up" = "Meta+Ctrl+Up";
|
|
||||||
"kwin"."Switch One Desktop to the Left" = "Meta+Ctrl+Left";
|
|
||||||
"kwin"."Switch One Desktop to the Right" = "Meta+Ctrl+Right";
|
|
||||||
"kwin"."Switch Window Down" = "Meta+Alt+Down";
|
|
||||||
"kwin"."Switch Window Left" = "Meta+Alt+Left";
|
|
||||||
"kwin"."Switch Window Right" = "Meta+Alt+Right";
|
|
||||||
"kwin"."Switch Window Up" = "Meta+Alt+Up";
|
|
||||||
"kwin"."Switch to Desktop 1" = "Ctrl+F1";
|
|
||||||
"kwin"."Switch to Desktop 10" = "none,,Switch to Desktop 10";
|
|
||||||
"kwin"."Switch to Desktop 11" = "none,,Switch to Desktop 11";
|
|
||||||
"kwin"."Switch to Desktop 12" = "none,,Switch to Desktop 12";
|
|
||||||
"kwin"."Switch to Desktop 13" = "none,,Switch to Desktop 13";
|
|
||||||
"kwin"."Switch to Desktop 14" = "none,,Switch to Desktop 14";
|
|
||||||
"kwin"."Switch to Desktop 15" = "none,,Switch to Desktop 15";
|
|
||||||
"kwin"."Switch to Desktop 16" = "none,,Switch to Desktop 16";
|
|
||||||
"kwin"."Switch to Desktop 17" = "none,,Switch to Desktop 17";
|
|
||||||
"kwin"."Switch to Desktop 18" = "none,,Switch to Desktop 18";
|
|
||||||
"kwin"."Switch to Desktop 19" = "none,,Switch to Desktop 19";
|
|
||||||
"kwin"."Switch to Desktop 2" = "Ctrl+F2";
|
|
||||||
"kwin"."Switch to Desktop 20" = "none,,Switch to Desktop 20";
|
|
||||||
"kwin"."Switch to Desktop 3" = "Ctrl+F3";
|
|
||||||
"kwin"."Switch to Desktop 4" = "Ctrl+F4";
|
|
||||||
"kwin"."Switch to Desktop 5" = "none,,Switch to Desktop 5";
|
|
||||||
"kwin"."Switch to Desktop 6" = "none,,Switch to Desktop 6";
|
|
||||||
"kwin"."Switch to Desktop 7" = "none,,Switch to Desktop 7";
|
|
||||||
"kwin"."Switch to Desktop 8" = "none,,Switch to Desktop 8";
|
|
||||||
"kwin"."Switch to Desktop 9" = "none,,Switch to Desktop 9";
|
|
||||||
"kwin"."Switch to Next Desktop" = "none,,Switch to Next Desktop";
|
|
||||||
"kwin"."Switch to Next Screen" = "none,,Switch to Next Screen";
|
|
||||||
"kwin"."Switch to Previous Desktop" = "none,,Switch to Previous Desktop";
|
|
||||||
"kwin"."Switch to Previous Screen" = "none,,Switch to Previous Screen";
|
|
||||||
"kwin"."Switch to Screen 0" = "none,,Switch to Screen 0";
|
|
||||||
"kwin"."Switch to Screen 1" = "none,,Switch to Screen 1";
|
|
||||||
"kwin"."Switch to Screen 2" = "none,,Switch to Screen 2";
|
|
||||||
"kwin"."Switch to Screen 3" = "none,,Switch to Screen 3";
|
|
||||||
"kwin"."Switch to Screen 4" = "none,,Switch to Screen 4";
|
|
||||||
"kwin"."Switch to Screen 5" = "none,,Switch to Screen 5";
|
|
||||||
"kwin"."Switch to Screen 6" = "none,,Switch to Screen 6";
|
|
||||||
"kwin"."Switch to Screen 7" = "none,,Switch to Screen 7";
|
|
||||||
"kwin"."Switch to Screen Above" = "none,,Switch to Screen Above";
|
|
||||||
"kwin"."Switch to Screen Below" = "none,,Switch to Screen Below";
|
|
||||||
"kwin"."Switch to Screen to the Left" = "none,,Switch to Screen to the Left";
|
|
||||||
"kwin"."Switch to Screen to the Right" = "none,,Switch to Screen to the Right";
|
|
||||||
"kwin"."Toggle Night Color" = [ ];
|
|
||||||
"kwin"."Toggle Window Raise/Lower" = "none,,Toggle Window Raise/Lower";
|
|
||||||
"kwin"."Walk Through Windows" = "Alt+Tab";
|
|
||||||
"kwin"."Walk Through Windows (Reverse)" = "Alt+Shift+Tab";
|
|
||||||
"kwin"."Walk Through Windows Alternative" = "none,,Walk Through Windows Alternative";
|
|
||||||
"kwin"."Walk Through Windows Alternative (Reverse)" = "none,,Walk Through Windows Alternative (Reverse)";
|
|
||||||
"kwin"."Walk Through Windows of Current Application" = "Alt+`";
|
|
||||||
"kwin"."Walk Through Windows of Current Application (Reverse)" = "Alt+~";
|
|
||||||
"kwin"."Walk Through Windows of Current Application Alternative" = "none,,Walk Through Windows of Current Application Alternative";
|
|
||||||
"kwin"."Walk Through Windows of Current Application Alternative (Reverse)" = "none,,Walk Through Windows of Current Application Alternative (Reverse)";
|
|
||||||
"kwin"."Window Above Other Windows" = "none,,Keep Window Above Others";
|
|
||||||
"kwin"."Window Below Other Windows" = "none,,Keep Window Below Others";
|
|
||||||
"kwin"."Window Close" = "Alt+F4";
|
|
||||||
"kwin"."Window Fullscreen" = "none,,Make Window Fullscreen";
|
|
||||||
"kwin"."Window Grow Horizontal" = "none,,Expand Window Horizontally";
|
|
||||||
"kwin"."Window Grow Vertical" = "none,,Expand Window Vertically";
|
|
||||||
"kwin"."Window Lower" = "none,,Lower Window";
|
|
||||||
"kwin"."Window Maximize" = "Meta+PgUp";
|
|
||||||
"kwin"."Window Maximize Horizontal" = "none,,Maximize Window Horizontally";
|
|
||||||
"kwin"."Window Maximize Vertical" = "none,,Maximize Window Vertically";
|
|
||||||
"kwin"."Window Minimize" = "Meta+PgDown";
|
|
||||||
"kwin"."Window Move" = "none,,Move Window";
|
|
||||||
"kwin"."Window Move Center" = "none,,Move Window to the Center";
|
|
||||||
"kwin"."Window No Border" = "none,,Toggle Window Titlebar and Frame";
|
|
||||||
"kwin"."Window On All Desktops" = "none,,Keep Window on All Desktops";
|
|
||||||
"kwin"."Window One Desktop Down" = "Meta+Ctrl+Shift+Down";
|
|
||||||
"kwin"."Window One Desktop Up" = "Meta+Ctrl+Shift+Up";
|
|
||||||
"kwin"."Window One Desktop to the Left" = "Meta+Ctrl+Shift+Left";
|
|
||||||
"kwin"."Window One Desktop to the Right" = "Meta+Ctrl+Shift+Right";
|
|
||||||
"kwin"."Window One Screen Down" = "none,,Move Window One Screen Down";
|
|
||||||
"kwin"."Window One Screen Up" = "none,,Move Window One Screen Up";
|
|
||||||
"kwin"."Window One Screen to the Left" = "none,,Move Window One Screen to the Left";
|
|
||||||
"kwin"."Window One Screen to the Right" = "none,,Move Window One Screen to the Right";
|
|
||||||
"kwin"."Window Operations Menu" = "Alt+F3";
|
|
||||||
"kwin"."Window Pack Down" = "none,,Move Window Down";
|
|
||||||
"kwin"."Window Pack Left" = "none,,Move Window Left";
|
|
||||||
"kwin"."Window Pack Right" = "none,,Move Window Right";
|
|
||||||
"kwin"."Window Pack Up" = "none,,Move Window Up";
|
|
||||||
"kwin"."Window Quick Tile Bottom" = "Meta+Down";
|
|
||||||
"kwin"."Window Quick Tile Bottom Left" = "none,,Quick Tile Window to the Bottom Left";
|
|
||||||
"kwin"."Window Quick Tile Bottom Right" = "none,,Quick Tile Window to the Bottom Right";
|
|
||||||
"kwin"."Window Quick Tile Left" = "Meta+Left";
|
|
||||||
"kwin"."Window Quick Tile Right" = "Meta+Right";
|
|
||||||
"kwin"."Window Quick Tile Top" = "Meta+Up";
|
|
||||||
"kwin"."Window Quick Tile Top Left" = "none,,Quick Tile Window to the Top Left";
|
|
||||||
"kwin"."Window Quick Tile Top Right" = "none,,Quick Tile Window to the Top Right";
|
|
||||||
"kwin"."Window Raise" = "none,,Raise Window";
|
|
||||||
"kwin"."Window Resize" = "none,,Resize Window";
|
|
||||||
"kwin"."Window Shade" = "none,,Shade Window";
|
|
||||||
"kwin"."Window Shrink Horizontal" = "none,,Shrink Window Horizontally";
|
|
||||||
"kwin"."Window Shrink Vertical" = "none,,Shrink Window Vertically";
|
|
||||||
"kwin"."Window to Desktop 1" = "none,,Window to Desktop 1";
|
|
||||||
"kwin"."Window to Desktop 10" = "none,,Window to Desktop 10";
|
|
||||||
"kwin"."Window to Desktop 11" = "none,,Window to Desktop 11";
|
|
||||||
"kwin"."Window to Desktop 12" = "none,,Window to Desktop 12";
|
|
||||||
"kwin"."Window to Desktop 13" = "none,,Window to Desktop 13";
|
|
||||||
"kwin"."Window to Desktop 14" = "none,,Window to Desktop 14";
|
|
||||||
"kwin"."Window to Desktop 15" = "none,,Window to Desktop 15";
|
|
||||||
"kwin"."Window to Desktop 16" = "none,,Window to Desktop 16";
|
|
||||||
"kwin"."Window to Desktop 17" = "none,,Window to Desktop 17";
|
|
||||||
"kwin"."Window to Desktop 18" = "none,,Window to Desktop 18";
|
|
||||||
"kwin"."Window to Desktop 19" = "none,,Window to Desktop 19";
|
|
||||||
"kwin"."Window to Desktop 2" = "none,,Window to Desktop 2";
|
|
||||||
"kwin"."Window to Desktop 20" = "none,,Window to Desktop 20";
|
|
||||||
"kwin"."Window to Desktop 3" = "none,,Window to Desktop 3";
|
|
||||||
"kwin"."Window to Desktop 4" = "none,,Window to Desktop 4";
|
|
||||||
"kwin"."Window to Desktop 5" = "none,,Window to Desktop 5";
|
|
||||||
"kwin"."Window to Desktop 6" = "none,,Window to Desktop 6";
|
|
||||||
"kwin"."Window to Desktop 7" = "none,,Window to Desktop 7";
|
|
||||||
"kwin"."Window to Desktop 8" = "none,,Window to Desktop 8";
|
|
||||||
"kwin"."Window to Desktop 9" = "none,,Window to Desktop 9";
|
|
||||||
"kwin"."Window to Next Desktop" = "none,,Window to Next Desktop";
|
|
||||||
"kwin"."Window to Next Screen" = "Meta+Shift+Right";
|
|
||||||
"kwin"."Window to Previous Desktop" = "none,,Window to Previous Desktop";
|
|
||||||
"kwin"."Window to Previous Screen" = "Meta+Shift+Left";
|
|
||||||
"kwin"."Window to Screen 0" = "none,,Move Window to Screen 0";
|
|
||||||
"kwin"."Window to Screen 1" = "none,,Move Window to Screen 1";
|
|
||||||
"kwin"."Window to Screen 2" = "none,,Move Window to Screen 2";
|
|
||||||
"kwin"."Window to Screen 3" = "none,,Move Window to Screen 3";
|
|
||||||
"kwin"."Window to Screen 4" = "none,,Move Window to Screen 4";
|
|
||||||
"kwin"."Window to Screen 5" = "none,,Move Window to Screen 5";
|
|
||||||
"kwin"."Window to Screen 6" = "none,,Move Window to Screen 6";
|
|
||||||
"kwin"."Window to Screen 7" = "none,,Move Window to Screen 7";
|
|
||||||
"kwin"."view_actual_size" = "Meta+0";
|
|
||||||
"kwin"."view_zoom_in" = ["Meta++" "Meta+=,Meta++" "Meta+=,Zoom In"];
|
|
||||||
"kwin"."view_zoom_out" = "Meta+-";
|
|
||||||
"mediacontrol"."mediavolumedown" = "none,,Media volume down";
|
|
||||||
"mediacontrol"."mediavolumeup" = "none,,Media volume up";
|
|
||||||
"mediacontrol"."nextmedia" = "Media Next";
|
|
||||||
"mediacontrol"."pausemedia" = "Media Pause";
|
|
||||||
"mediacontrol"."playmedia" = "none,,Play media playback";
|
|
||||||
"mediacontrol"."playpausemedia" = "Media Play";
|
|
||||||
"mediacontrol"."previousmedia" = "Media Previous";
|
|
||||||
"mediacontrol"."stopmedia" = "Media Stop";
|
|
||||||
"org_kde_powerdevil"."Decrease Keyboard Brightness" = "Keyboard Brightness Down";
|
|
||||||
"org_kde_powerdevil"."Decrease Screen Brightness" = "Monitor Brightness Down";
|
|
||||||
"org_kde_powerdevil"."Decrease Screen Brightness Small" = "Shift+Monitor Brightness Down";
|
|
||||||
"org_kde_powerdevil"."Hibernate" = "Hibernate";
|
|
||||||
"org_kde_powerdevil"."Increase Keyboard Brightness" = "Keyboard Brightness Up";
|
|
||||||
"org_kde_powerdevil"."Increase Screen Brightness" = "Monitor Brightness Up";
|
|
||||||
"org_kde_powerdevil"."Increase Screen Brightness Small" = "Shift+Monitor Brightness Up";
|
|
||||||
"org_kde_powerdevil"."PowerDown" = "Power Down";
|
|
||||||
"org_kde_powerdevil"."PowerOff" = "Power Off";
|
|
||||||
"org_kde_powerdevil"."Sleep" = "Sleep";
|
|
||||||
"org_kde_powerdevil"."Toggle Keyboard Backlight" = "Keyboard Light On/Off";
|
|
||||||
"org_kde_powerdevil"."Turn Off Screen" = [ ];
|
|
||||||
"org_kde_powerdevil"."powerProfile" = ["Battery" "Meta+B,Battery" "Meta+B,Switch Power Profile"];
|
|
||||||
"plasmashell"."activate application launcher" = ["Meta,Meta" "Alt+F1,Activate Application Launcher"];
|
|
||||||
"plasmashell"."activate task manager entry 1" = "Meta+1";
|
|
||||||
"plasmashell"."activate task manager entry 10" = "none,Meta+0,Activate Task Manager Entry 10";
|
|
||||||
"plasmashell"."activate task manager entry 2" = "Meta+2";
|
|
||||||
"plasmashell"."activate task manager entry 3" = "Meta+3";
|
|
||||||
"plasmashell"."activate task manager entry 4" = "Meta+4";
|
|
||||||
"plasmashell"."activate task manager entry 5" = "Meta+5";
|
|
||||||
"plasmashell"."activate task manager entry 6" = "Meta+6";
|
|
||||||
"plasmashell"."activate task manager entry 7" = "Meta+7";
|
|
||||||
"plasmashell"."activate task manager entry 8" = "Meta+8";
|
|
||||||
"plasmashell"."activate task manager entry 9" = "Meta+9";
|
|
||||||
"plasmashell"."clear-history" = "none,,Clear Clipboard History";
|
|
||||||
"plasmashell"."clipboard_action" = "Meta+Ctrl+X";
|
|
||||||
"plasmashell"."cycle-panels" = "Meta+Alt+P";
|
|
||||||
"plasmashell"."cycleNextAction" = "none,,Next History Item";
|
|
||||||
"plasmashell"."cyclePrevAction" = "none,,Previous History Item";
|
|
||||||
"plasmashell"."manage activities" = "Meta+Q";
|
|
||||||
"plasmashell"."next activity" = "Meta+A,none,Walk through activities";
|
|
||||||
"plasmashell"."previous activity" = "Meta+Shift+A,none,Walk through activities (Reverse)";
|
|
||||||
"plasmashell"."repeat_action" = "none,Meta+Ctrl+R,Manually Invoke Action on Current Clipboard";
|
|
||||||
"plasmashell"."show dashboard" = "Ctrl+F12";
|
|
||||||
"plasmashell"."show-barcode" = "none,,Show Barcode…";
|
|
||||||
"plasmashell"."show-on-mouse-pos" = "Meta+V";
|
|
||||||
"plasmashell"."stop current activity" = "Meta+S";
|
|
||||||
"plasmashell"."switch to next activity" = "none,,Switch to Next Activity";
|
|
||||||
"plasmashell"."switch to previous activity" = "none,,Switch to Previous Activity";
|
|
||||||
"plasmashell"."toggle do not disturb" = "none,,Toggle do not disturb";
|
|
||||||
};
|
|
||||||
configFile = {
|
|
||||||
"baloofilerc"."General"."dbVersion" = 2;
|
|
||||||
"baloofilerc"."General"."exclude filters" = "*~,*.part,*.o,*.la,*.lo,*.loT,*.moc,moc_*.cpp,qrc_*.cpp,ui_*.h,cmake_install.cmake,CMakeCache.txt,CTestTestfile.cmake,libtool,config.status,confdefs.h,autom4te,conftest,confstat,Makefile.am,*.gcode,.ninja_deps,.ninja_log,build.ninja,*.csproj,*.m4,*.rej,*.gmo,*.pc,*.omf,*.aux,*.tmp,*.po,*.vm*,*.nvram,*.rcore,*.swp,*.swap,lzo,litmain.sh,*.orig,.histfile.*,.xsession-errors*,*.map,*.so,*.a,*.db,*.qrc,*.ini,*.init,*.img,*.vdi,*.vbox*,vbox.log,*.qcow2,*.vmdk,*.vhd,*.vhdx,*.sql,*.sql.gz,*.ytdl,*.tfstate*,*.class,*.pyc,*.pyo,*.elc,*.qmlc,*.jsc,*.fastq,*.fq,*.gb,*.fasta,*.fna,*.gbff,*.faa,po,CVS,.svn,.git,_darcs,.bzr,.hg,CMakeFiles,CMakeTmp,CMakeTmpQmake,.moc,.obj,.pch,.uic,.npm,.yarn,.yarn-cache,__pycache__,node_modules,node_packages,nbproject,.terraform,.venv,venv,core-dumps,lost+found";
|
|
||||||
"baloofilerc"."General"."exclude filters version" = 9;
|
|
||||||
"dolphinrc"."General"."ViewPropsTimestamp" = "2024,7,20,20,13,20.857";
|
|
||||||
"dolphinrc"."KFileDialog Settings"."Places Icons Auto-resize" = false;
|
|
||||||
"dolphinrc"."KFileDialog Settings"."Places Icons Static Size" = 22;
|
|
||||||
"kactivitymanagerdrc"."activities"."3756b222-d0a9-4f71-827b-62d27908d7cb" = "Default";
|
|
||||||
"kactivitymanagerdrc"."main"."currentActivity" = "3756b222-d0a9-4f71-827b-62d27908d7cb";
|
|
||||||
"kcminputrc"."Mouse"."X11LibInputXAccelProfileFlat" = true;
|
|
||||||
"kded5rc"."Module-browserintegrationreminder"."autoload" = false;
|
|
||||||
"kded5rc"."Module-device_automounter"."autoload" = false;
|
|
||||||
"kdeglobals"."KFileDialog Settings"."Allow Expansion" = false;
|
|
||||||
"kdeglobals"."KFileDialog Settings"."Automatically select filename extension" = true;
|
|
||||||
"kdeglobals"."KFileDialog Settings"."Breadcrumb Navigation" = true;
|
|
||||||
"kdeglobals"."KFileDialog Settings"."Decoration position" = 2;
|
|
||||||
"kdeglobals"."KFileDialog Settings"."LocationCombo Completionmode" = 5;
|
|
||||||
"kdeglobals"."KFileDialog Settings"."PathCombo Completionmode" = 5;
|
|
||||||
"kdeglobals"."KFileDialog Settings"."Show Bookmarks" = false;
|
|
||||||
"kdeglobals"."KFileDialog Settings"."Show Full Path" = false;
|
|
||||||
"kdeglobals"."KFileDialog Settings"."Show Inline Previews" = true;
|
|
||||||
"kdeglobals"."KFileDialog Settings"."Show Preview" = false;
|
|
||||||
"kdeglobals"."KFileDialog Settings"."Show Speedbar" = true;
|
|
||||||
"kdeglobals"."KFileDialog Settings"."Show hidden files" = false;
|
|
||||||
"kdeglobals"."KFileDialog Settings"."Sort by" = "Name";
|
|
||||||
"kdeglobals"."KFileDialog Settings"."Sort directories first" = true;
|
|
||||||
"kdeglobals"."KFileDialog Settings"."Sort hidden files last" = false;
|
|
||||||
"kdeglobals"."KFileDialog Settings"."Sort reversed" = false;
|
|
||||||
"kdeglobals"."KFileDialog Settings"."Speedbar Width" = 131;
|
|
||||||
"kdeglobals"."KFileDialog Settings"."View Style" = "DetailTree";
|
|
||||||
"kdeglobals"."KScreen"."ScaleFactor" = 1.5;
|
|
||||||
"kdeglobals"."KScreen"."ScreenScaleFactors" = "eDP-1=1.5;";
|
|
||||||
"kdeglobals"."KScreen"."XwaylandClientsScale" = false;
|
|
||||||
"kdeglobals"."KShortcutsDialog Settings"."Dialog Size" = "600,480";
|
|
||||||
"kdeglobals"."WM"."activeBackground" = "227,229,231";
|
|
||||||
"kdeglobals"."WM"."activeBlend" = "227,229,231";
|
|
||||||
"kdeglobals"."WM"."activeForeground" = "35,38,41";
|
|
||||||
"kdeglobals"."WM"."inactiveBackground" = "239,240,241";
|
|
||||||
"kdeglobals"."WM"."inactiveBlend" = "239,240,241";
|
|
||||||
"kdeglobals"."WM"."inactiveForeground" = "112,125,138";
|
|
||||||
"kwalletrc"."Wallet"."First Use" = false;
|
|
||||||
"kwinrc"."Desktops"."Id_1" = "6d3243a1-8d34-46d5-8a68-ec54c336699e";
|
|
||||||
"kwinrc"."Desktops"."Number" = 1;
|
|
||||||
"kwinrc"."Desktops"."Rows" = 1;
|
|
||||||
"kwinrc"."Tiling"."padding" = 4;
|
|
||||||
"kwinrc"."Tiling/0fbdf624-be14-53ad-b76a-600f4af55e9c"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}]}";
|
|
||||||
"kwinrc"."Tiling/4f1a969f-6d7e-5170-903d-eb64a676c434"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}]}";
|
|
||||||
"kwinrc"."Tiling/640d8520-d104-58ba-9402-051a364d7b72"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}]}";
|
|
||||||
"kwinrc"."Tiling/f89e3d0e-d233-5a93-aaff-c6ecf9b010b4"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}]}";
|
|
||||||
"plasma-localerc"."Formats"."LANG" = "en_US.UTF-8";
|
|
||||||
"plasmanotifyrc"."Applications/firefox"."Seen" = true;
|
|
||||||
};
|
|
||||||
dataFile = {
|
|
||||||
"dolphin/view_properties/global/.directory"."Dolphin"."ViewMode" = 1;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -19,6 +19,10 @@ with lib;
|
|||||||
autologin = true;
|
autologin = true;
|
||||||
wayland = true;
|
wayland = true;
|
||||||
};
|
};
|
||||||
|
spotifyd = {
|
||||||
|
enable = true;
|
||||||
|
deviceType = "t_v";
|
||||||
|
};
|
||||||
users.enable = true;
|
users.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,6 @@
|
|||||||
desktop.enable = true;
|
desktop.enable = true;
|
||||||
nfs-mounts.enable = true;
|
nfs-mounts.enable = true;
|
||||||
printing.enable = true;
|
printing.enable = true;
|
||||||
spotifyd.enable = true;
|
|
||||||
users = {
|
users = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraGroups = [ "video" ];
|
extraGroups = [ "video" ];
|
||||||
|
|||||||
@@ -48,14 +48,6 @@
|
|||||||
|
|
||||||
swapDevices = [ ];
|
swapDevices = [ ];
|
||||||
|
|
||||||
services.beesd.filesystems = {
|
|
||||||
root = {
|
|
||||||
spec = "LABEL=nixos";
|
|
||||||
hashTableSizeMB = 4096;
|
|
||||||
verbosity = "crit";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,16 +13,15 @@ in
|
|||||||
config = mkIf cfg.enable
|
config = mkIf cfg.enable
|
||||||
{
|
{
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
alsa-utils
|
||||||
paprefs
|
paprefs
|
||||||
pavucontrol
|
pavucontrol
|
||||||
pulsemixer
|
pulsemixer
|
||||||
];
|
];
|
||||||
|
|
||||||
services.pipewire = {
|
hardware.pulseaudio.enable = true;
|
||||||
enable = true;
|
|
||||||
pulse.enable = true;
|
|
||||||
};
|
|
||||||
hardware.pulseaudio.package = pkgs.pulseaudioFull;
|
hardware.pulseaudio.package = pkgs.pulseaudioFull;
|
||||||
|
hardware.pulseaudio.support32Bit = true;
|
||||||
hardware.pulseaudio.extraConfig = "
|
hardware.pulseaudio.extraConfig = "
|
||||||
load-module module-combine-sink
|
load-module module-combine-sink
|
||||||
load-module module-switch-on-connect
|
load-module module-switch-on-connect
|
||||||
|
|||||||
@@ -4,33 +4,44 @@ with lib;
|
|||||||
|
|
||||||
let
|
let
|
||||||
cfg = config.roles.spotifyd;
|
cfg = config.roles.spotifyd;
|
||||||
|
spotifyd = pkgs.spotifyd.override { withMpris = true; withPulseAudio = true; };
|
||||||
|
spotifydConf = pkgs.writeText "spotifyd-config" ''
|
||||||
|
[global]
|
||||||
|
backend = "pulseaudio"
|
||||||
|
bitrate = 320
|
||||||
|
use_mpris = false
|
||||||
|
zeroconf_port = 5354
|
||||||
|
autoplay = false
|
||||||
|
device_type = "${cfg.deviceType}"
|
||||||
|
'';
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.roles.spotifyd = {
|
options.roles.spotifyd = {
|
||||||
enable = mkEnableOption "Enable the spotifyd role";
|
enable = mkEnableOption "Enable the spotifyd role";
|
||||||
|
deviceType = mkOption {
|
||||||
|
default = "computer";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable
|
config = mkIf cfg.enable
|
||||||
{
|
{
|
||||||
roles.audio.enable = true;
|
roles.audio.enable = true;
|
||||||
|
|
||||||
services.spotifyd = {
|
systemd.user.services.spotifyd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
wantedBy = [ "default.target" ];
|
||||||
global = {
|
after = [ "network-online.target" "sound.target" ];
|
||||||
use_mpris = false;
|
description = "spotifyd, a Spotify playing daemon";
|
||||||
backend = "alsa";
|
serviceConfig = {
|
||||||
device = "sysdefault";
|
ExecStart = "${spotifyd}/bin/spotifyd --no-daemon --cache-path=\${HOME}/.cache/spotifyd --config-path=${spotifydConf}";
|
||||||
bitrate = 320;
|
Restart = "always";
|
||||||
cache_path = "";
|
RestartSec = 12;
|
||||||
zeroconf_port = 1234;
|
|
||||||
autoplay = false;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
users.users."kodi".linger = true;
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [
|
networking.firewall.allowedTCPPorts = [
|
||||||
1234
|
5354
|
||||||
57621
|
57621
|
||||||
];
|
];
|
||||||
networking.firewall.allowedUDPPorts = [
|
networking.firewall.allowedUDPPorts = [
|
||||||
|
|||||||
Reference in New Issue
Block a user