This commit is contained in:
Andrea Ciceri 2022-08-19 17:37:23 +02:00
parent bc1347a224
commit 270252e5f8
No known key found for this signature in database
GPG key ID: A1FC89532D1C5654
19 changed files with 178 additions and 84 deletions

9
modules/adb/default.nix Normal file
View file

@ -0,0 +1,9 @@
{
config,
lib,
pkgs,
...
}: {
programs.adb.enable = true;
users.users.ccr.extraGroups = ["adbusers"];
}

View 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;
};
})
];
}

View file

@ -0,0 +1,6 @@
{pkgs, ...}: {
services.blueman.enable = true;
hardware.pulseaudio.enable = true;
hardware.bluetooth.enable = true;
services.dbus.packages = with pkgs; [blueman];
}

View file

@ -45,6 +45,7 @@
"vscode"
"element"
"udiskie"
"discord"
];
home.packages = with pkgs; [
];

View file

@ -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))"
'';
}

View file

@ -0,0 +1,3 @@
{pkgs, ...}: {
services.udev.packages = [pkgs.qmk-udev-rules];
}

3
modules/ssh/default.nix Normal file
View file

@ -0,0 +1,3 @@
{
services.sshd.enable = true;
}