Compare commits

..

1 commit

Author SHA1 Message Date
7f77ecb2de
feat(modules): Write home.me module 2024-11-13 21:08:18 -08:00
3 changed files with 6 additions and 17 deletions

View file

@ -26,6 +26,7 @@
[
inputs.rose-pine.homeManagerModules.rose-pine
"${myHomeMods}/iconTheme.nix"
"${myHomeMods}/me.nix"
"${myHomeMods}/shellAbbrs.nix"
"${self}/home"
];
@ -36,18 +37,16 @@
{ 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}/modules/home/me.nix"
self.homeModules."${me}"
];
me.name = me;
imports = [ self.homeModules."${me}" ];
home.username = me;
home.homeDirectory = "/${home}/${me}";
home.stateVersion = "24.05";
}
);

View file

@ -4,11 +4,6 @@
...
}:
{
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,9 +1,4 @@
{
lib,
config,
pkgs,
...
}:
{ lib, config, ... }:
with lib;
{
options = {