39 lines
1.1 KiB
Nix
39 lines
1.1 KiB
Nix
{ profiles, suites, ... }:
|
|
{
|
|
imports = [
|
|
./configuration.nix
|
|
profiles.users.anish
|
|
#profiles.users.profiles.firefox
|
|
#profiles.users.profiles.desktop
|
|
profiles.users.profiles.email
|
|
profiles.users.profiles.cal
|
|
#profiles.wireguard
|
|
profiles.mossnet-hosts
|
|
] ++ suites.curve;
|
|
|
|
home-manager.users.anish = { self, suites, ... }: {
|
|
imports = [ ] ++ suites.hmBase;
|
|
};
|
|
|
|
#bud.enable = true;
|
|
|
|
# enable adb
|
|
# TODO move this (it's for KaiOS WebIDE devShell?)
|
|
programs.adb.enable = true;
|
|
#virtualisation.docker.enable = true;
|
|
services.udev.extraRules = ''
|
|
# Qualcomm EDL
|
|
SUBSYSTEMS=="usb", ATTRS{idVendor}=="05c6", ATTRS{idProduct}=="9008", MODE="0666", GROUP="plugdev"
|
|
|
|
# Qualcomm Memory Debug
|
|
SUBSYSTEMS=="usb", ATTRS{idVendor}=="05c6", ATTRS{idProduct}=="9006", MODE="0666", GROUP="plugdev"
|
|
'';
|
|
boot.blacklistedKernelModules = [ "qcserial" ];
|
|
users.users.anish.extraGroups = ["adbusers" "wheel" "plugdev"];
|
|
|
|
# enable wireguard tunnel
|
|
# privKey = "/run/secrets/curve-wg"; -> local config
|
|
# publicKey = "..."; -> shipped to server config
|
|
# IP = "10.0.69.2"; -> shipped to both configs
|
|
}
|