Whovian's NixOS config, smiley face.
Go to file
Whovian NTSN 0bb17c2e91 Update the `rom-properties` package a bit to remove build warnings. 2024-06-04 19:17:31 -04:00
home Update the `rom-properties` package a bit to remove build warnings. 2024-06-04 19:17:31 -04:00
system Well, I want to name my next mnachine "chimchar", so here's some boilerplate. 2024-06-02 02:50:33 -04:00
.gitignore Ignore currently unused `system` directory for `nixps` 2024-06-02 06:01:23 -04:00
README.md idk another note but this time about `udev` 2024-06-01 05:46:13 -04:00
chimchar-hold_for_flake.nix Missed a loose `nixos-wsl` in `outputs`! 2024-06-02 06:07:39 -04:00
flake.lock Update `flake.lock` 2024-06-01 15:40:10 -04:00
flake.nix Oops, last commit added an ISO Generator. *This one* adds the `nixps` config. 2024-06-02 05:56:30 -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:

/run/udev/rules.d exists. Might be good to remember.


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