Fix up now-broken modules
This commit is contained in:
parent
bcb09055f8
commit
836da8b798
5 changed files with 254 additions and 247 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue