Compare commits
No commits in common. "8bb546e16b05a724cd5157d55267acfc0d41d59a" and "9dea323402e1174b41a2bc93d86f1aaaa14ca036" have entirely different histories.
8bb546e16b
...
9dea323402
2 changed files with 7 additions and 40 deletions
41
README.md
41
README.md
|
@ -15,49 +15,10 @@ If you have suggestions on "fixing" or "cleaning up" my configurations, please a
|
|||
|
||||
- [[githubL:ashebanow Starred - Example Nix Configs] "These are other people's nix configs I've found useful, informative, and/or inspirational."](https://github.com/stars/ashebanow/lists/example-nix-configs/)
|
||||
|
||||
### Extra notes for possible future use:
|
||||
```nix
|
||||
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";
|
||||
};
|
||||
};
|
||||
```
|
||||
|
||||
### Notes:
|
||||
```bash
|
||||
$ 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
|
||||
```
|
||||
|
||||
|
|
|
@ -42,6 +42,12 @@
|
|||
# programs.home-manager.enable = true;
|
||||
};
|
||||
|
||||
# nixpkgs = {
|
||||
# config = {
|
||||
# allowUnfree = true;
|
||||
# };
|
||||
# };
|
||||
|
||||
age = {
|
||||
identityPaths = [
|
||||
/home/whovian/.ssh/id_ed25519.nix
|
||||
|
|
Loading…
Reference in a new issue