Skip to content

Commit bfa22d1

Browse files
committed
use plasma-manager
1 parent 9bbd5a7 commit bfa22d1

File tree

5 files changed

+47
-21
lines changed

5 files changed

+47
-21
lines changed

flake.lock

Lines changed: 24 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,10 @@
6363
url = "github:codebam/bsav/main";
6464
inputs.nixpkgs.follows = "nixpkgs";
6565
};
66-
freesimplegui = {
67-
url = "github:codebam/nixpkgs/python-freesimplegui";
66+
plasma-manager = {
67+
url = "github:nix-community/plasma-manager";
68+
inputs.nixpkgs.follows = "nixpkgs";
69+
inputs.home-manager.follows = "home-manager";
6870
};
6971
#helix = {
7072
# url = "github:helix-editor/helix";
@@ -137,10 +139,13 @@
137139
useUserPackages = true;
138140
extraSpecialArgs = { inherit inputs; };
139141
users.codebam = {
140-
imports = [ ./home ];
142+
imports = [
143+
./home
144+
];
141145
};
142146
sharedModules = [
143147
inputs.agenix.homeManagerModules.default
148+
inputs.plasma-manager.homeModules.plasma-manager
144149
];
145150
};
146151
}

home/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ _:
99
./sway.nix
1010
./systemd.nix
1111
./xdg.nix
12+
./plasma.nix
1213
];
1314
}

home/home.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@
113113
tkinter
114114
pip
115115
requests
116-
inputs.freesimplegui.legacyPackages.${pkgs.stdenv.hostPlatform.system}.python3Packages.freesimplegui
117116
]))
118117
];
119118

home/plasma.nix

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
_:
2+
3+
{
4+
programs.plasma = {
5+
enable = true;
6+
configFile.kdeglobals = {
7+
General = {
8+
TerminalApplication = "foot";
9+
TerminalService = "foot.desktop";
10+
};
11+
};
12+
configFile.kcminputrc."Libinput/13364/832/Keychron Keychron V4 Mouse".PointerAccelerationProfile = 1;
13+
};
14+
}

0 commit comments

Comments
 (0)