Compare commits

..

2 commits

Author SHA1 Message Date
e63b6d8914
feat(home): Use me 2024-11-13 21:12:15 -08:00
e9f3156e1f
feat(modules): Write me module 2024-11-13 21:12:09 -08:00
3 changed files with 17 additions and 6 deletions

View file

@ -26,7 +26,6 @@
[
inputs.rose-pine.homeManagerModules.rose-pine
"${myHomeMods}/iconTheme.nix"
"${myHomeMods}/me.nix"
"${myHomeMods}/shellAbbrs.nix"
"${self}/home"
];
@ -37,16 +36,18 @@
{ pkgs, ... }:
let
me = "marley";
home = if pkgs.stdenv.isDarwin then "Users" else "home";
inherit (self.nixos-unified.lib) mkHomeConfiguration;
in
{
legacyPackages.homeConfigurations."${me}" = mkHomeConfiguration pkgs (
{ pkgs, ... }:
{
imports = [ self.homeModules."${me}" ];
home.username = me;
home.homeDirectory = "/${home}/${me}";
imports = [
"${self}/modules/home/me.nix"
self.homeModules."${me}"
];
me.name = me;
home.stateVersion = "24.05";
}
);

View file

@ -4,6 +4,11 @@
...
}:
{
me = {
username = "punkfairie";
email = "marley@punkfairie.net";
};
targets.genericLinux.enable = lib.mkIf pkgs.stdenv.isLinux true;
home.language.base = "en_US.UTF-8";

View file

@ -1,4 +1,9 @@
{ lib, config, ... }:
{
lib,
config,
pkgs,
...
}:
with lib;
{
options = {