some stuff idk
This commit is contained in:
parent
d215d5c86a
commit
3762b72745
|
@ -120,7 +120,7 @@
|
|||
base = [ core users.root nvim users.anish ]; # TODO make anish non gui
|
||||
sealight = [ base ]; # matrix rsshub backup wireguard website
|
||||
mossnet = [ base ]; # shaarli wallabag nextcloud taskwarrior headphones
|
||||
graphical = [ base users.profiles.firefox users.profiles.desktop bluetooth music sync];
|
||||
graphical = [ base users.profiles.firefox users.profiles.desktop bluetooth music sync ];
|
||||
curve = [ graphical ];
|
||||
};
|
||||
};
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
networking.interfaces.wlp3s0.useDHCP = true;
|
||||
networking.wireless.enable = true;
|
||||
networking.wireless.interfaces = ["wlp3s0"];
|
||||
networking.wireless.userControlled.enable = true;
|
||||
|
||||
# Select internationalisation properties.
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
# 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"
|
||||
|
@ -28,7 +29,7 @@
|
|||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="05c6", ATTRS{idProduct}=="9006", MODE="0666", GROUP="plugdev"
|
||||
'';
|
||||
boot.blacklistedKernelModules = [ "qcserial" ];
|
||||
users.users.anish.extraGroups = ["adbusers" "plugdev"];
|
||||
users.users.anish.extraGroups = ["adbusers" "wheel" "plugdev"];
|
||||
|
||||
# enable wireguard tunnel
|
||||
# privKey = "/run/secrets/curve-wg"; -> local config
|
||||
|
|
|
@ -23,6 +23,7 @@ in
|
|||
tree
|
||||
moreutils
|
||||
nix-index
|
||||
cached-nix-shell
|
||||
nmap
|
||||
ripgrep
|
||||
skim
|
||||
|
@ -117,6 +118,7 @@ in
|
|||
srch = "ns nixos";
|
||||
orch = "ns override";
|
||||
nrb = ifSudo "sudo nixos-rebuild switch --flake '/etc/nixos/#curve'";
|
||||
nedit = "vim /etc/nixos/";
|
||||
mn = ''
|
||||
manix "" | grep '^# ' | sed 's/^# \(.*\) (.*/\1/;s/ (.*//;s/^# //' | sk --preview="manix '{}'" | xargs manix
|
||||
'';
|
||||
|
@ -126,6 +128,7 @@ in
|
|||
|
||||
# sudo
|
||||
s = ifSudo "sudo -E ";
|
||||
pls = ifSudo "s";
|
||||
si = ifSudo "sudo -i";
|
||||
se = ifSudo "sudoedit";
|
||||
|
||||
|
|
|
@ -38,6 +38,8 @@
|
|||
# TODO move somewhere meaningful
|
||||
tdesktop # TODO get rid of this once bridged on sealight
|
||||
ripcord
|
||||
feh
|
||||
mupdf
|
||||
sublime-music
|
||||
calibre
|
||||
nheko
|
||||
|
|
Loading…
Reference in a new issue