From 6a1178f9692e5f5fa82ed5b90af02b1155a32b2b Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Mon, 11 Sep 2023 10:14:39 +0800 Subject: [PATCH] config: add comments --- flake.nix | 1 + hosts/ni/default.nix | 7 +++++++ users/home-manager/foo-dogsquared/modules/browser.nix | 2 ++ 3 files changed, 10 insertions(+) diff --git a/flake.nix b/flake.nix index 1eaf57de..7455a363 100644 --- a/flake.nix +++ b/flake.nix @@ -248,6 +248,7 @@ home.stateVersion = lib.mkDefault "23.11"; }; + # This will be shared among NixOS and home-manager configurations. nixSettingsSharedConfig = { config, lib, pkgs, ... }: { # I want to capture the usual flakes to its exact version so we're # making them available to our system. This will also prevent the diff --git a/hosts/ni/default.nix b/hosts/ni/default.nix index e64810a9..353d79cb 100644 --- a/hosts/ni/default.nix +++ b/hosts/ni/default.nix @@ -35,6 +35,7 @@ type = "ed25519"; }]; + # My portable music streaming server. services.gonic = { enable = true; settings = { @@ -56,16 +57,22 @@ "ssh-key" = { }; }; + # The keyfile required for the secrets to be decrypted. sops.age.keyFile = "/var/lib/sops-nix/key.txt"; + # Get the latest kernel for the desktop experience. boot.kernelPackages = pkgs.linuxPackages_latest; + + # Adding a bunch of emulated systems for cross-system building. boot.binfmt.emulatedSystems = [ "aarch64-linux" "riscv64-linux" ]; + # Wanna be a wannabe haxxor, kid? programs.wireshark.package = pkgs.wireshark; + # We're using some better filesystems so we're using it. boot.initrd.supportedFilesystems = [ "btrfs" ]; boot.supportedFilesystems = [ "btrfs" ]; diff --git a/users/home-manager/foo-dogsquared/modules/browser.nix b/users/home-manager/foo-dogsquared/modules/browser.nix index 53f0d8f9..d6497a4b 100644 --- a/users/home-manager/foo-dogsquared/modules/browser.nix +++ b/users/home-manager/foo-dogsquared/modules/browser.nix @@ -7,6 +7,7 @@ nyxt ]; + # The only browser to give me money. programs.brave = { enable = true; commandLineArgs = [ @@ -31,6 +32,7 @@ ]; }; + # Despite the name, it isn't a browser for furries. programs.firefox = { enable = true;