diff options
-rw-r--r-- | machines/rpi3-amadeus/README.md | 15 | ||||
-rw-r--r-- | modules/doas.nix | 1 | ||||
-rw-r--r-- | modules/internet.nix | 5 | ||||
-rw-r--r-- | programs/newsboat/urls | 1 |
4 files changed, 20 insertions, 2 deletions
diff --git a/machines/rpi3-amadeus/README.md b/machines/rpi3-amadeus/README.md new file mode 100644 index 0000000..4ee0586 --- /dev/null +++ b/machines/rpi3-amadeus/README.md @@ -0,0 +1,15 @@ +# Installing nixos on rpi + +1. Download img from hydra (aarch64) +2. Flash on sd card and boot it +3. passwd for root! +4. run nixos-rebuild with minimal.nix as config +5. run nixos-rebuild with configuration.nix as config + +## TODO + +- spi + +## Resources + +- https://github.com/hexamon-tech/nixos-lorawan-gateway/blob/master/modules/kernel.nix#L11 diff --git a/modules/doas.nix b/modules/doas.nix index 262028b..bf2ef38 100644 --- a/modules/doas.nix +++ b/modules/doas.nix @@ -6,6 +6,7 @@ wheelNeedsPassword = false; extraRules = [{ groups = [ "wheel" ]; + noPass = true; # keepEnv = true; # I need to set NIX_PATH explicitly, since my user and root use different paths setEnv = [ "NIX_PATH=nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels" ]; diff --git a/modules/internet.nix b/modules/internet.nix index 79365ca..dedc269 100644 --- a/modules/internet.nix +++ b/modules/internet.nix @@ -7,8 +7,9 @@ ]; - networking.extraHosts = "${ pkgs.stdenv.lib.readFile "${pkgs.fetchurl { + networking.extraHosts = pkgs.stdenv.lib.readFile ( pkgs.fetchurl { url = "https://raw.githubusercontent.com/StevenBlack/hosts/5a5016ab5bf0166e004147cb49ccd0114ed29b72/alternates/fakenews-gambling-porn/hosts"; sha256 = "1c60fyzxz89bic6ymcvb8fcanyxpzr8v2z5vixxr79d8mj0vjswm"; - }}"}"; + } ); + } diff --git a/programs/newsboat/urls b/programs/newsboat/urls index 9830588..a8475c1 100644 --- a/programs/newsboat/urls +++ b/programs/newsboat/urls @@ -48,6 +48,7 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UCFzGyNKXPAglNq28qWYTDFA "~K https://www.youtube.com/feeds/videos.xml?channel_id=UCTdPpKcVp03tjGhMWyKtIFQ "~Tin Can Bros" "yt" https://www.youtube.com/feeds/videos.xml?channel_id=UCnZx--LpG2spgmlxOcC-DRA https://www.youtube.com/feeds/videos.xml?channel_id=UCYO_jab_esuFRV4b17AJtAw +https://www.youtube.com/feeds/videos.xml?channel_id=UC7YOGHUfC1Tb6E4pudI9STA ## Luke Smith luke "~## LUKE SMITH ##" |