mirror of
https://codeberg.org/privacy1st/nix-git
synced 2025-02-22 10:15:21 +01:00
docs
This commit is contained in:
parent
811850d762
commit
817b2e5bfa
@ -10,20 +10,16 @@
|
|||||||
# How to add user to new group: https://superuser.com/a/1352988
|
# How to add user to new group: https://superuser.com/a/1352988
|
||||||
users.groups.plugdev = {};
|
users.groups.plugdev = {};
|
||||||
|
|
||||||
# `adb devices` returned the error: no permissions (missing udev rules? user is in the plugdev group)
|
|
||||||
# So I troed two things. The first one had no effect. But the second one fixed it.
|
|
||||||
|
|
||||||
#services.udev.packages = [
|
|
||||||
# pkgs.android-udev-rules
|
|
||||||
#];
|
|
||||||
|
|
||||||
# `lsusb`
|
# `lsusb`
|
||||||
#=> Bus 001 Device 008: ID 2a70:d001 OnePlus Technology (Shenzhen) Co., Ltd. ONEPLUS A6003
|
#=> Bus 001 Device 008: ID 2a70:d001 OnePlus Technology (Shenzhen) Co., Ltd. ONEPLUS A6003
|
||||||
# https://stackoverflow.com/a/53887437
|
# https://stackoverflow.com/a/53887437
|
||||||
#
|
#
|
||||||
|
# Alternatively: `sudo dmesg -w`
|
||||||
|
#=> New USB device found, idVendor=18d1, idProduct=d001, bcdDevice= 5.04
|
||||||
|
#
|
||||||
# sudo udevadm control --reload-rules
|
# sudo udevadm control --reload-rules
|
||||||
#
|
#
|
||||||
# After adding this, `adb devices` returnes:
|
# After adding this, `adb devices` returns:
|
||||||
#=> List of devices attached
|
#=> List of devices attached
|
||||||
#=> 21801e97 sideload
|
#=> 21801e97 sideload
|
||||||
#
|
#
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
|
|
||||||
gnome-contacts # Contacts
|
gnome-contacts # Contacts
|
||||||
gnome-calendar # Calendar
|
gnome-calendar # Calendar
|
||||||
|
#gnome-clocks # Clock and timer. Very short, hard coded altert sound.
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -53,6 +53,7 @@
|
|||||||
# Office suite.
|
# Office suite.
|
||||||
# For spellcheck, see here: https://nixos.wiki/wiki/LibreOffice#Spellcheck
|
# For spellcheck, see here: https://nixos.wiki/wiki/LibreOffice#Spellcheck
|
||||||
libreoffice-fresh
|
libreoffice-fresh
|
||||||
|
#wps # Alternative office suite.
|
||||||
zotero # Collect, organize, cite, and share your research sources
|
zotero # Collect, organize, cite, and share your research sources
|
||||||
anki-bin # Flashcards.
|
anki-bin # Flashcards.
|
||||||
#jameica # Hibiscus plugin -> HBCI online banking. Sparkasse-Nürnberg https://www.willuhn.de/wiki/doku.php?id=support:list:banken:spk#nuernberg.
|
#jameica # Hibiscus plugin -> HBCI online banking. Sparkasse-Nürnberg https://www.willuhn.de/wiki/doku.php?id=support:list:banken:spk#nuernberg.
|
||||||
|
@ -1,9 +1,14 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
# Unlock encrypted root partition remotely with SSH.
|
# Unlock encrypted root partition remotely with SSH.
|
||||||
# TODO: Some manual steps are required, see https://nixos.wiki/wiki/Remote_LUKS_Unlocking#Prepare_SSH_host_keys
|
|
||||||
# -> ssh-keygen -t ed25519 -N "" -f /etc/secrets/initrd/ssh_host_ed25519_key
|
|
||||||
#
|
#
|
||||||
|
# TODO: Some manual steps are required, see https://wiki.nixos.org/wiki/Remote_disk_unlocking#Setup
|
||||||
|
# -> ssh-keygen -t ed25519 -N "" -f /etc/secrets/initrd/ssh_host_ed25519_key
|
||||||
|
|
||||||
|
# Optional: Start Tor in initrd.
|
||||||
|
# Useful if IP address is non-static, the router does not do DynDNS or if regularly moving the server to a different LAN.
|
||||||
|
# https://wiki.nixos.org/wiki/Remote_disk_unlocking#Tor_in_initrd
|
||||||
|
|
||||||
# Additional references:
|
# Additional references:
|
||||||
# https://wiki.archlinux.org/title/Dm-crypt/Specialties#Remote_unlocking_of_root_(or_other)_partition
|
# https://wiki.archlinux.org/title/Dm-crypt/Specialties#Remote_unlocking_of_root_(or_other)_partition
|
||||||
|
|
||||||
@ -44,7 +49,7 @@
|
|||||||
then [ "e1000e" ]
|
then [ "e1000e" ]
|
||||||
else if (config.networking.hostName == "yodaGaming")
|
else if (config.networking.hostName == "yodaGaming")
|
||||||
then [ "tg3" ]
|
then [ "tg3" ]
|
||||||
else throw "Please add kernel module of networ card here"
|
else throw "Please add kernel module of network card here"
|
||||||
);
|
);
|
||||||
#
|
#
|
||||||
# dmesg -> enp0s20f0u1u2: renamed from eth0 (yodaTux)
|
# dmesg -> enp0s20f0u1u2: renamed from eth0 (yodaTux)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user