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
|
hjem.nixosModules.default
|
||||||
nix-index-database.nixosModules.nix-index
|
nix-index-database.nixosModules.nix-index
|
||||||
|
|
||||||
|
(lib.mkAliasOptionModule [ "hj" ] [ "hjem" "users" "leo" "files" ])
|
||||||
|
|
||||||
rootPassword.generate
|
rootPassword.generate
|
||||||
secrets.generate
|
secrets.generate
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
fishPlugins.hydro
|
fishPlugins.hydro
|
||||||
];
|
];
|
||||||
|
|
||||||
hjem.users.leo.files.".config/fish/config.fish".text = ''
|
hj.".config/fish/config.fish".text = ''
|
||||||
function fish_greeting
|
function fish_greeting
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
{
|
{
|
||||||
environment.systemPackages = [ pkgs.ghostty ];
|
environment.systemPackages = [ pkgs.ghostty ];
|
||||||
|
|
||||||
hjem.users.leo.files.".config/ghostty/config".text = ''
|
hj.".config/ghostty/config".text = ''
|
||||||
font-family = Iosevka Term
|
font-family = Iosevka Term
|
||||||
font-feature = -calt
|
font-feature = -calt
|
||||||
font-feature = -dlig
|
font-feature = -dlig
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
gh
|
gh
|
||||||
];
|
];
|
||||||
|
|
||||||
hjem.users.leo.files = {
|
hj = {
|
||||||
".gitconfig".text = lib.generators.toGitINI {
|
".gitconfig".text = lib.generators.toGitINI {
|
||||||
user = {
|
user = {
|
||||||
name = "uku";
|
name = "uku";
|
||||||
|
|
|
@ -2,5 +2,5 @@
|
||||||
{
|
{
|
||||||
environment.systemPackages = [ pkgs.neovide ];
|
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 { };
|
toml = pkgs.formats.toml { };
|
||||||
in
|
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";
|
build.target-dir = "${config.hjem.users.leo.directory}/.cargo/target";
|
||||||
|
|
||||||
target.x86_64-unknown-linux-gnu = {
|
target.x86_64-unknown-linux-gnu = {
|
||||||
|
|
|
@ -29,7 +29,7 @@ in
|
||||||
|
|
||||||
i18n.defaultLocale = lib.mkForce "fr_FR.UTF-8";
|
i18n.defaultLocale = lib.mkForce "fr_FR.UTF-8";
|
||||||
|
|
||||||
hjem.users.leo.files = {
|
hj = {
|
||||||
".gitconfig".text = lib.generators.toGitINI {
|
".gitconfig".text = lib.generators.toGitINI {
|
||||||
include.path = "~/.config/git/work_config";
|
include.path = "~/.config/git/work_config";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue