Compare commits
1 Commits
9116e44dfe
...
plasma-man
| Author | SHA1 | Date | |
|---|---|---|---|
| 62a507e703 |
30
flake.lock
generated
30
flake.lock
generated
@@ -7,11 +7,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730633670,
|
"lastModified": 1728041527,
|
||||||
"narHash": "sha256-ZFJqIXpvVKvzOVFKWNRDyIyAo+GYdmEPaYi1bZB6uf0=",
|
"narHash": "sha256-03liqiJtk9UP7YQHW4r8MduKCK242FQzud8iWvvlK+o=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "8f6ca7855d409aeebe2a582c6fd6b6a8d0bf5661",
|
"rev": "509dbf8d45606b618e9ec3bbe4e936b7c5bc6c1e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -22,11 +22,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730531603,
|
"lastModified": 1727802920,
|
||||||
"narHash": "sha256-Dqg6si5CqIzm87sp57j5nTaeBbWhHFaVyG7V6L8k3lY=",
|
"narHash": "sha256-HP89HZOT0ReIbI7IJZJQoJgxvB2Tn28V6XS3MNKnfLs=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "7ffd9ae656aec493492b44d0ddfb28e79a1ea25d",
|
"rev": "27e30d177e57d912d614c88c622dcfdb2e6e6515",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -38,11 +38,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-stable": {
|
"nixpkgs-stable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730602179,
|
"lastModified": 1725762081,
|
||||||
"narHash": "sha256-efgLzQAWSzJuCLiCaQUCDu4NudNlHdg2NzGLX5GYaEY=",
|
"narHash": "sha256-vNv+aJUW5/YurRy1ocfvs4q/48yVESwlC/yHzjkZSP8=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "3c2f1c4ca372622cb2f9de8016c9a0b1cbd0f37c",
|
"rev": "dc454045f5b5d814e5862a6d057e7bb5c29edc05",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -62,11 +62,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730635861,
|
"lastModified": 1728750492,
|
||||||
"narHash": "sha256-Npp3pl9aeAiq+wZPDbw2ZxybNuZWyuN7AY6fik56DCo=",
|
"narHash": "sha256-9IHlIsH4gLqQjS2lFbEnsl/ItdqzBBLWLsyXS0k0jf8=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "plasma-manager",
|
"repo": "plasma-manager",
|
||||||
"rev": "293668587937daae1df085ee36d2b2d0792b7a0f",
|
"rev": "c6d4b6f3e0138c08f37d66fcfbcbe37dab08f108",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -91,11 +91,11 @@
|
|||||||
"nixpkgs-stable": "nixpkgs-stable"
|
"nixpkgs-stable": "nixpkgs-stable"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730605784,
|
"lastModified": 1727423009,
|
||||||
"narHash": "sha256-1NveNAMLHbxOg0BpBMSVuZ2yW2PpDnZLbZ25wV50PMc=",
|
"narHash": "sha256-+4B/dQm2EnORIk0k2wV3aHGaE0WXTBjColXjj7qWh10=",
|
||||||
"owner": "Mic92",
|
"owner": "Mic92",
|
||||||
"repo": "sops-nix",
|
"repo": "sops-nix",
|
||||||
"rev": "e9b5eef9b51cdf966c76143e13a9476725b2f760",
|
"rev": "127a96f49ddc377be6ba76964411bab11ae27803",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ in {
|
|||||||
source = fetchGit {
|
source = fetchGit {
|
||||||
url = "https://github.com/doomemacs/doomemacs.git";
|
url = "https://github.com/doomemacs/doomemacs.git";
|
||||||
# When updating me, remember to run `doom sync`
|
# When updating me, remember to run `doom sync`
|
||||||
rev = "f425f2ff3da584cfe2676f6b9cf1d81a690a75e5";
|
rev = "5ad99220b86ae1bf421861dfad24492d768ac4d9";
|
||||||
};
|
};
|
||||||
# We need to use recursive mode here or else doom fails to sync for
|
# We need to use recursive mode here or else doom fails to sync for
|
||||||
# some reason related to the permissions on the synced path. I'm not
|
# some reason related to the permissions on the synced path. I'm not
|
||||||
|
|||||||
@@ -149,7 +149,7 @@
|
|||||||
;;lua ; one-based indices? one-based indices
|
;;lua ; one-based indices? one-based indices
|
||||||
markdown ; writing docs for people to ignore
|
markdown ; writing docs for people to ignore
|
||||||
;;nim ; python + lisp at the speed of c
|
;;nim ; python + lisp at the speed of c
|
||||||
(nix +tree-sitter) ; I hereby declare "nix geht mehr!"
|
(nix +tree-sitter +lsp) ; I hereby declare "nix geht mehr!"
|
||||||
;;ocaml ; an objective camel
|
;;ocaml ; an objective camel
|
||||||
(org +roam2) ; organize your plain life in plain text
|
(org +roam2) ; organize your plain life in plain text
|
||||||
;;php ; perl's insecure younger brother
|
;;php ; perl's insecure younger brother
|
||||||
|
|||||||
@@ -1,21 +1,30 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
|
||||||
# The current KDE config can be output with the command:
|
# The following can be generated with the command:
|
||||||
# nix run github:nix-community/plasma-manager
|
# nix run github:nix-community/plasma-manager
|
||||||
#
|
#
|
||||||
# Plasma-manager options documentation
|
# Plasma-manager options documentation
|
||||||
# https://nix-community.github.io/plasma-manager/options.xhtml
|
# https://nix-community.github.io/plasma-manager/options.xhtml
|
||||||
#
|
#
|
||||||
# TODO: (ambitious) Add Kmail support to plasma-manager
|
# 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 = {
|
programs.plasma = {
|
||||||
enable = true;
|
enable = true;
|
||||||
overrideConfig = true;
|
overrideConfig = true;
|
||||||
|
|
||||||
|
kwin = {
|
||||||
|
scripts.polonium.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
hotkeys.commands."launch-konsole" = {
|
hotkeys.commands."launch-konsole" = {
|
||||||
name = "Launch Konsole";
|
name = "Launch Konsole";
|
||||||
key = "Meta+Return";
|
key = "Meta+Enter";
|
||||||
command = "konsole";
|
command = "konsole";
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -43,7 +52,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
ksmserver = {
|
ksmserver = {
|
||||||
"Lock Session" = ["Meta+Ctrl+Q" "Screensaver" "Screensaver,Lock Session"];
|
"Lock Session" = ["Meta+Ctrl+Q" "Screensaver,Meta+L" "Screensaver,Lock Session"];
|
||||||
};
|
};
|
||||||
|
|
||||||
kwin = {
|
kwin = {
|
||||||
@@ -58,7 +67,46 @@
|
|||||||
|
|
||||||
"Activate Window Demanding Attention" = "Meta+Ctrl+A";
|
"Activate Window Demanding Attention" = "Meta+Ctrl+A";
|
||||||
|
|
||||||
|
"PoloniumCycleEngine" = "Meta+|,none,Polonium: Cycle Engine";
|
||||||
|
"PoloniumFocusAbove" = "Meta+K,none,Polonium: Focus Above";
|
||||||
|
"PoloniumFocusBelow" = "Meta+J,none,Polonium: Focus Below";
|
||||||
|
"PoloniumFocusLeft" = "Meta+H,none,Polonium: Focus Left";
|
||||||
|
"PoloniumFocusRight" = "Meta+L,none,Polonium: Focus Right";
|
||||||
|
"PoloniumInsertAbove" = "Meta+Shift+K,none,Polonium: Insert Above";
|
||||||
|
"PoloniumInsertBelow" = "Meta+Shift+J,none,Polonium: Insert Below";
|
||||||
|
"PoloniumInsertLeft" = "Meta+Shift+H,none,Polonium: Insert Left";
|
||||||
|
"PoloniumInsertRight" = "Meta+Shift+L,none,Polonium: Insert Right";
|
||||||
|
"PoloniumOpenSettings" = "Meta+\\\\,none,Polonium: Open Settings Dialog";
|
||||||
|
"PoloniumResizeAbove" = "Meta+Ctrl+K,none,Polonium: Resize Above";
|
||||||
|
"PoloniumResizeBelow" = "Meta+Ctrl+J,none,Polonium: Resize Below";
|
||||||
|
"PoloniumResizeLeft" = "Meta+Ctrl+H,none,Polonium: Resize Left";
|
||||||
|
"PoloniumResizeRight" = "Meta+Ctrl+L,none,Polonium: Resize Right";
|
||||||
|
"PoloniumRetileWindow" = "Meta+Shift+Space,none,Polonium: Retile Window";
|
||||||
|
"PoloniumSwitchBTree" = [ ];
|
||||||
|
"PoloniumSwitchHalf" = [ ];
|
||||||
|
"PoloniumSwitchKwin" = [ ];
|
||||||
|
"PoloniumSwitchMonocle" = [ ];
|
||||||
|
"PoloniumSwitchThreeColumn" = [ ];
|
||||||
|
|
||||||
"Show Desktop" = "Meta+D";
|
"Show Desktop" = "Meta+D";
|
||||||
|
"Switch to Desktop 1" = "Meta+1,,Switch to Desktop 1";
|
||||||
|
"Switch to Desktop 2" = "Meta+2,,Switch to Desktop 2";
|
||||||
|
"Switch to Desktop 3" = "Meta+3,,Switch to Desktop 3";
|
||||||
|
"Switch to Desktop 4" = "Meta+4,,Switch to Desktop 4";
|
||||||
|
"Switch to Desktop 5" = "Meta+5,,Switch to Desktop 5";
|
||||||
|
"Switch to Desktop 6" = "none,,Switch to Desktop 6";
|
||||||
|
"Switch to Desktop 7" = "none,,Switch to Desktop 7";
|
||||||
|
"Switch to Desktop 8" = "none,,Switch to Desktop 8";
|
||||||
|
"Switch to Desktop 9" = "none,,Switch to Desktop 9";
|
||||||
|
"Window to Desktop 1" = "Meta+!,,Window to Desktop 1";
|
||||||
|
"Window to Desktop 2" = "Meta+@,,Window to Desktop 2";
|
||||||
|
"Window to Desktop 3" = "Meta+#,,Window to Desktop 3";
|
||||||
|
"Window to Desktop 4" = "Meta+$,,Window to Desktop 4";
|
||||||
|
"Window to Desktop 5" = "Meta+%,,Window to Desktop 5";
|
||||||
|
"Window to Desktop 6" = "none,,Window to Desktop 6";
|
||||||
|
"Window to Desktop 7" = "none,,Window to Desktop 7";
|
||||||
|
"Window to Desktop 8" = "none,,Window to Desktop 8";
|
||||||
|
"Window to Desktop 9" = "none,,Window to Desktop 9";
|
||||||
|
|
||||||
"Walk Through Windows" = "Alt+Tab";
|
"Walk Through Windows" = "Alt+Tab";
|
||||||
"Walk Through Windows (Reverse)" = "Alt+Shift+Tab";
|
"Walk Through Windows (Reverse)" = "Alt+Shift+Tab";
|
||||||
@@ -89,37 +137,14 @@
|
|||||||
"org_kde_powerdevil"."Turn Off Screen" = [ ];
|
"org_kde_powerdevil"."Turn Off Screen" = [ ];
|
||||||
"org_kde_powerdevil"."powerProfile" = ["Battery" "Meta+B,Battery" "Meta+B,Switch Power Profile"];
|
"org_kde_powerdevil"."powerProfile" = ["Battery" "Meta+B,Battery" "Meta+B,Switch Power Profile"];
|
||||||
|
|
||||||
plasmashell = {
|
"plasmashell"."activate application launcher" = ["Meta" "Alt+F1,Meta" "Alt+F1,Activate Application Launcher"];
|
||||||
"activate application launcher" = ["Meta" "Alt+F1,Meta" "Alt+F1,Activate Application Launcher"];
|
|
||||||
"activate task manager entry 1" = "none,,";
|
|
||||||
"activate task manager entry 2" = "none,,";
|
|
||||||
"activate task manager entry 3" = "none,,";
|
|
||||||
"activate task manager entry 4" = "none,,";
|
|
||||||
"activate task manager entry 5" = "none,,";
|
|
||||||
"activate task manager entry 6" = "none,,";
|
|
||||||
"activate task manager entry 7" = "none,,";
|
|
||||||
"activate task manager entry 8" = "none,,";
|
|
||||||
"activate task manager entry 9" = "none,,";
|
|
||||||
"activate task manager entry 10" = "none,,";
|
|
||||||
"show activity switcher" = "none,,";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
configFile = {
|
configFile = {
|
||||||
kwinrc.Desktops.Number = {
|
kwinrc.Desktops.Number = {
|
||||||
value = 10;
|
value = 9;
|
||||||
immutable = true;
|
immutable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
kcminputrc.Libinput = {
|
|
||||||
AccelerationProfile = "adaptive";
|
|
||||||
PointerAcceleration = 0.5;
|
|
||||||
};
|
|
||||||
|
|
||||||
kcminputrc.Mouse = {
|
|
||||||
X11LibInputXAccelProfileFlat = false;
|
|
||||||
XLbInptAccelProfileFlat = false;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -33,18 +33,6 @@
|
|||||||
open = false;
|
open = false;
|
||||||
nvidiaSettings = true;
|
nvidiaSettings = true;
|
||||||
package = config.boot.kernelPackages.nvidiaPackages.production;
|
package = config.boot.kernelPackages.nvidiaPackages.production;
|
||||||
#package = config.boot.kernelPackages.nvidiaPackages.mkDriver {
|
|
||||||
#version = "555.58";
|
|
||||||
|
|
||||||
#sha256_64bit = "sha256-bXvcXkg2kQZuCNKRZM5QoTaTjF4l2TtrsKUvyicj5ew=";
|
|
||||||
#sha256_aarch64 = lib.fakeSha256;
|
|
||||||
#openSha256 = lib.fakeSha256;
|
|
||||||
#settingsSha256 = "sha256-vWnrXlBCb3K5uVkDFmJDVq51wrCoqgPF03lSjZOuU8M=";
|
|
||||||
#persistencedSha256 = lib.fakeSha256;
|
|
||||||
#};
|
|
||||||
};
|
|
||||||
environment.sessionVariables = {
|
|
||||||
KWIN_DRM_ALLOW_NVIDIA_COLORSPACE = "1";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
@@ -57,6 +45,11 @@
|
|||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fileSystems."/arch" =
|
||||||
|
{ device = "/dev/disk/by-label/endeavouros";
|
||||||
|
fsType = "btrfs";
|
||||||
|
};
|
||||||
|
|
||||||
swapDevices = [ ];
|
swapDevices = [ ];
|
||||||
|
|
||||||
services.beesd.filesystems = {
|
services.beesd.filesystems = {
|
||||||
|
|||||||
@@ -31,25 +31,16 @@ with lib;
|
|||||||
};
|
};
|
||||||
time.timeZone = "America/Los_Angeles";
|
time.timeZone = "America/Los_Angeles";
|
||||||
|
|
||||||
# Don't go to emergency mode if we aren't able to mount filesystems.
|
|
||||||
# This is silly if you have multiple hard drives or partitions
|
|
||||||
# configured on a machine and then one goes away intentionally or
|
|
||||||
# unintentionally. If the system is already booting, let it continue
|
|
||||||
# to try and boot.
|
|
||||||
systemd.enableEmergencyMode = false;
|
|
||||||
|
|
||||||
# Enable the OpenSSH daemon.
|
# Enable the OpenSSH daemon.
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||||
git
|
git
|
||||||
pciutils
|
|
||||||
vim
|
|
||||||
usbutils
|
|
||||||
];
|
];
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
package = pkgs.nix;
|
package = pkgs.nixFlakes;
|
||||||
distributedBuilds = true;
|
distributedBuilds = true;
|
||||||
buildMachines = [{
|
buildMachines = [{
|
||||||
hostName = "z790prors.oglehome";
|
hostName = "z790prors.oglehome";
|
||||||
@@ -68,12 +59,6 @@ with lib;
|
|||||||
"https://hyprland.cachix.org"
|
"https://hyprland.cachix.org"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
gc = {
|
|
||||||
automatic = true;
|
|
||||||
randomizedDelaySec = "14m";
|
|
||||||
options = "--delete-older-than 10d";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ let
|
|||||||
basePackages = with pkgs; [
|
basePackages = with pkgs; [
|
||||||
brightnessctl
|
brightnessctl
|
||||||
mangohud # Should probably get refactored with steam/gamescope out to a gaming role
|
mangohud # Should probably get refactored with steam/gamescope out to a gaming role
|
||||||
|
polonium # auto tiling kwin addon
|
||||||
];
|
];
|
||||||
|
|
||||||
x11BasePackages = with pkgs; [
|
x11BasePackages = with pkgs; [
|
||||||
|
|||||||
Reference in New Issue
Block a user