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