config: add comments

This commit is contained in:
Gabriel Arazas 2023-09-11 10:14:39 +08:00
parent bc2c446a6b
commit 6a1178f969
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
3 changed files with 10 additions and 0 deletions

View File

@ -248,6 +248,7 @@
home.stateVersion = lib.mkDefault "23.11"; home.stateVersion = lib.mkDefault "23.11";
}; };
# This will be shared among NixOS and home-manager configurations.
nixSettingsSharedConfig = { config, lib, pkgs, ... }: { nixSettingsSharedConfig = { config, lib, pkgs, ... }: {
# I want to capture the usual flakes to its exact version so we're # 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 # making them available to our system. This will also prevent the

View File

@ -35,6 +35,7 @@
type = "ed25519"; type = "ed25519";
}]; }];
# My portable music streaming server.
services.gonic = { services.gonic = {
enable = true; enable = true;
settings = { settings = {
@ -56,16 +57,22 @@
"ssh-key" = { }; "ssh-key" = { };
}; };
# The keyfile required for the secrets to be decrypted.
sops.age.keyFile = "/var/lib/sops-nix/key.txt"; sops.age.keyFile = "/var/lib/sops-nix/key.txt";
# Get the latest kernel for the desktop experience.
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;
# Adding a bunch of emulated systems for cross-system building.
boot.binfmt.emulatedSystems = [ boot.binfmt.emulatedSystems = [
"aarch64-linux" "aarch64-linux"
"riscv64-linux" "riscv64-linux"
]; ];
# Wanna be a wannabe haxxor, kid?
programs.wireshark.package = pkgs.wireshark; programs.wireshark.package = pkgs.wireshark;
# We're using some better filesystems so we're using it.
boot.initrd.supportedFilesystems = [ "btrfs" ]; boot.initrd.supportedFilesystems = [ "btrfs" ];
boot.supportedFilesystems = [ "btrfs" ]; boot.supportedFilesystems = [ "btrfs" ];

View File

@ -7,6 +7,7 @@
nyxt nyxt
]; ];
# The only browser to give me money.
programs.brave = { programs.brave = {
enable = true; enable = true;
commandLineArgs = [ commandLineArgs = [
@ -31,6 +32,7 @@
]; ];
}; };
# Despite the name, it isn't a browser for furries.
programs.firefox = { programs.firefox = {
enable = true; enable = true;