Whovian's NixOS config, smiley face.
Go to file
Whovian NTSN fb618c0fd3 Oops, forgot to add `hactoolnet-bin` to the `my_packages` set. 2024-05-29 21:48:29 -04:00
home Oops, forgot to add `hactoolnet-bin` to the `my_packages` set. 2024-05-29 21:48:29 -04:00
system Workaround dotnet HTTP Header sanitisation issue. 2024-05-29 15:27:25 -04:00
.gitignore Mess with `.gitignore` some more. 2024-05-25 12:10:47 -04:00
README.md Adjust `README.md` notes some more. 2024-05-23 05:30:40 -04:00
flake.lock Update `flake.lock` 2024-05-29 15:45:14 -04:00
flake.nix Tweak comment 2024-05-29 21:46:22 -04:00

README.md

Whovian's system flake

I needed to put my config into a git repo, so I made my first system config flake (and added my home-manager setup too.) and committed it. If you have suggestions on "fixing" or "cleaning up" my configurations, please add it to the Discussions so I can take a look at it later!

Future reference:

Notes for possible future use:

I really really should look further into these before actually using them.

virtualisation.docker = {
  enableOnBoot = true;
  autoPrune = {
    enable = true;
  };
};

wsl = {
  # Enable integration with Docker Desktop (needs to be installed)
  docker-desktop.enable = false;
};

environment.shells = [pkgs.zsh];

nix = {
  settings = {
    access-tokens = [
      "github.com=${github_token-variable}"
      "gitlab.com=OAuth2:${gitlab_token-variable}"
    ];
    accept-flake-config = true;
    auto-optimise-store = true;
  };

  registry = {
    nixpkgs = {
      flake = inputs.nixpkgs;
    };
  };

  nixPath = [
    "nixpkgs=${inputs.nixpkgs.outPath}"
  ];

  gc = {
    automatic = true;
    options = "--delete-older-than 7d";
  };
};

Information Backups:

$ sudo nix-channel --list
nixos https://nixos.org/channels/nixos-23.11
nixos-wsl https://github.com/nix-community/NixOS-WSL/archive/refs/heads/main.tar.gz