init
This commit is contained in:
commit
aae151cee6
33 changed files with 1351 additions and 0 deletions
27
hosts/makise/homes/kurisu/configuration/default.nix
Executable file
27
hosts/makise/homes/kurisu/configuration/default.nix
Executable file
|
|
@ -0,0 +1,27 @@
|
|||
{ outputs
|
||||
, ...
|
||||
}:
|
||||
let
|
||||
modules = outputs.homeManagerModules;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
modules.editors
|
||||
modules.shells
|
||||
|
||||
./git.nix
|
||||
];
|
||||
|
||||
custom = {
|
||||
editors = {
|
||||
defaultEditor = "helix";
|
||||
helix.enable = true;
|
||||
};
|
||||
|
||||
shells = {
|
||||
fish.enable = true;
|
||||
direnv.enable = true;
|
||||
zellij.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
27
hosts/makise/homes/kurisu/configuration/git.nix
Normal file
27
hosts/makise/homes/kurisu/configuration/git.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ ...
|
||||
}:
|
||||
|
||||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
user = {
|
||||
name = "dokkae.cat";
|
||||
email = "finnliry@gmail.com";
|
||||
};
|
||||
|
||||
init.defaultBranch = "main";
|
||||
safe.directory = "/etc/nixos";
|
||||
};
|
||||
|
||||
ignores = [
|
||||
".idea/"
|
||||
".helix/"
|
||||
".direnv/"
|
||||
|
||||
".envrc"
|
||||
".ignore"
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue