Setup nix flake to work with darwin, wsl and linux system configuration. This has ONLY been tested on Darwin so far.

This commit is contained in:
Martin Lasson 2025-01-26 00:29:25 +01:00
parent 5322764881
commit f0f8aeb7b8
15 changed files with 468 additions and 144 deletions

12
nix/local_home.nix Normal file
View file

@ -0,0 +1,12 @@
{ ... }:
{
# local_home.nix
# This is a template file that is committed to git with minimal changes.
# In order to use this and remain pure, each machine needs to create a local branch, i.e `machine-wsl` and set these variables
# accordingly, and then commit it.
home = {
# Stub values for demonstration. Override these in local branch.
username = "JohnDoe";
homeDirectory = "/home/johndoe";
};
}