Working
This commit is contained in:
parent
bc1347a224
commit
270252e5f8
19 changed files with 178 additions and 84 deletions
9
modules/adb/default.nix
Normal file
9
modules/adb/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
programs.adb.enable = true;
|
||||
users.users.ccr.extraGroups = ["adbusers"];
|
||||
}
|
13
modules/battery/default.nix
Normal file
13
modules/battery/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{config, ...}: {
|
||||
services.tlp.enable = true;
|
||||
|
||||
services.upower.enable = true;
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(self: super: {
|
||||
tlp = super.tlp.override {
|
||||
enableRDW = config.networkmanager.enable;
|
||||
};
|
||||
})
|
||||
];
|
||||
}
|
6
modules/bluetooth/default.nix
Normal file
6
modules/bluetooth/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{pkgs, ...}: {
|
||||
services.blueman.enable = true;
|
||||
hardware.pulseaudio.enable = true;
|
||||
hardware.bluetooth.enable = true;
|
||||
services.dbus.packages = with pkgs; [blueman];
|
||||
}
|
|
@ -45,6 +45,7 @@
|
|||
"vscode"
|
||||
"element"
|
||||
"udiskie"
|
||||
"discord"
|
||||
];
|
||||
home.packages = with pkgs; [
|
||||
];
|
||||
|
|
|
@ -27,10 +27,12 @@
|
|||
export QT_IM_MODULE=xim
|
||||
export CLUTTER_IM_MODULE=xim
|
||||
|
||||
dbus-update-activation-environment DISPLAY
|
||||
|
||||
# Lockscreen
|
||||
exec ${pkgs.xss-lock}/bin/xss-lock -- ${pkgs.i3lock-blur}/bin/i3lock-color &
|
||||
|
||||
# Finally start Emacs
|
||||
exec dbus-launch emacsclient --eval "(exwm-init)" --create-frame -F "((fullscreen . fullboth))"
|
||||
exec dbus-launch emacsclient --create-frame -F "((fullscreen . fullboth))"
|
||||
'';
|
||||
}
|
||||
|
|
3
modules/qmk-udev/default.nix
Normal file
3
modules/qmk-udev/default.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{pkgs, ...}: {
|
||||
services.udev.packages = [pkgs.qmk-udev-rules];
|
||||
}
|
3
modules/ssh/default.nix
Normal file
3
modules/ssh/default.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
services.sshd.enable = true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue