feat(home): Use me
This commit is contained in:
parent
1960c679a0
commit
d77735ec8e
2 changed files with 11 additions and 5 deletions
11
flake.nix
11
flake.nix
|
@ -26,7 +26,6 @@
|
||||||
[
|
[
|
||||||
inputs.rose-pine.homeManagerModules.rose-pine
|
inputs.rose-pine.homeManagerModules.rose-pine
|
||||||
"${myHomeMods}/iconTheme.nix"
|
"${myHomeMods}/iconTheme.nix"
|
||||||
"${myHomeMods}/me.nix"
|
|
||||||
"${myHomeMods}/shellAbbrs.nix"
|
"${myHomeMods}/shellAbbrs.nix"
|
||||||
"${self}/home"
|
"${self}/home"
|
||||||
];
|
];
|
||||||
|
@ -37,16 +36,18 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
let
|
let
|
||||||
me = "marley";
|
me = "marley";
|
||||||
home = if pkgs.stdenv.isDarwin then "Users" else "home";
|
|
||||||
inherit (self.nixos-unified.lib) mkHomeConfiguration;
|
inherit (self.nixos-unified.lib) mkHomeConfiguration;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
legacyPackages.homeConfigurations."${me}" = mkHomeConfiguration pkgs (
|
legacyPackages.homeConfigurations."${me}" = mkHomeConfiguration pkgs (
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
imports = [ self.homeModules."${me}" ];
|
imports = [
|
||||||
home.username = me;
|
"${self}/modules/home/me.nix"
|
||||||
home.homeDirectory = "/${home}/${me}";
|
self.homeModules."${me}"
|
||||||
|
];
|
||||||
|
|
||||||
|
me.name = me;
|
||||||
home.stateVersion = "24.05";
|
home.stateVersion = "24.05";
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
|
@ -4,6 +4,11 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
|
me = {
|
||||||
|
username = "punkfairie";
|
||||||
|
email = "marley@punkfairie.net";
|
||||||
|
};
|
||||||
|
|
||||||
targets.genericLinux.enable = lib.mkIf pkgs.stdenv.isLinux true;
|
targets.genericLinux.enable = lib.mkIf pkgs.stdenv.isLinux true;
|
||||||
|
|
||||||
home.language.base = "en_US.UTF-8";
|
home.language.base = "en_US.UTF-8";
|
||||||
|
|
Loading…
Reference in a new issue