chore: add shorthand for hjem option
This commit is contained in:
parent
7b77f05476
commit
689c291762
7 changed files with 8 additions and 6 deletions
|
@ -23,6 +23,8 @@ in
|
|||
hjem.nixosModules.default
|
||||
nix-index-database.nixosModules.nix-index
|
||||
|
||||
(lib.mkAliasOptionModule [ "hj" ] [ "hjem" "users" "leo" "files" ])
|
||||
|
||||
rootPassword.generate
|
||||
secrets.generate
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
fishPlugins.hydro
|
||||
];
|
||||
|
||||
hjem.users.leo.files.".config/fish/config.fish".text = ''
|
||||
hj.".config/fish/config.fish".text = ''
|
||||
function fish_greeting
|
||||
end
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
{
|
||||
environment.systemPackages = [ pkgs.ghostty ];
|
||||
|
||||
hjem.users.leo.files.".config/ghostty/config".text = ''
|
||||
hj.".config/ghostty/config".text = ''
|
||||
font-family = Iosevka Term
|
||||
font-feature = -calt
|
||||
font-feature = -dlig
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
gh
|
||||
];
|
||||
|
||||
hjem.users.leo.files = {
|
||||
hj = {
|
||||
".gitconfig".text = lib.generators.toGitINI {
|
||||
user = {
|
||||
name = "uku";
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
{
|
||||
environment.systemPackages = [ pkgs.neovide ];
|
||||
|
||||
hjem.users.leo.files.".config/neovide/config.toml".text = "fork = true";
|
||||
hj.".config/neovide/config.toml".text = "fork = true";
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ let
|
|||
toml = pkgs.formats.toml { };
|
||||
in
|
||||
{
|
||||
hjem.users.leo.files.".cargo/config.toml".source = toml.generate "config.toml" {
|
||||
hj.".cargo/config.toml".source = toml.generate "config.toml" {
|
||||
build.target-dir = "${config.hjem.users.leo.directory}/.cargo/target";
|
||||
|
||||
target.x86_64-unknown-linux-gnu = {
|
||||
|
|
|
@ -29,7 +29,7 @@ in
|
|||
|
||||
i18n.defaultLocale = lib.mkForce "fr_FR.UTF-8";
|
||||
|
||||
hjem.users.leo.files = {
|
||||
hj = {
|
||||
".gitconfig".text = lib.generators.toGitINI {
|
||||
include.path = "~/.config/git/work_config";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue