Fix up now-broken modules

This commit is contained in:
Julia Lange 2025-11-19 09:14:08 -08:00
parent bcb09055f8
commit 836da8b798
Signed by: Julia
SSH key fingerprint: SHA256:5DJcfxa5/fKCYn57dcabJa2vN2e6eT0pBerYi5SUbto
5 changed files with 254 additions and 247 deletions

View file

@ -1,4 +1,4 @@
{ config, lib, usernameAtHostname, ... }:
{ config, lib, ... }:
{
options = {
@ -9,17 +9,15 @@
browser = lib.mkOption { default = ""; };
};
};
config = let
st = lib.strings;
in {
config = {
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
nixpkgs.config.allowUnfree = true;
home.stateVersion = "23.05";
home = {
username = builtins.elemAt (st.splitString "@" usernameAtHostname) 0;
homeDirectory = "/home/" + config.home.username;
username = "pan";
homeDirectory = "/home/pan";
packages = config.extraPkgs;
};