parent
f037d1dd80
commit
2637817c9c
20 changed files with 8 additions and 12 deletions
30
hosts/cl-00-00/homes/admin/default.nix
Executable file
30
hosts/cl-00-00/homes/admin/default.nix
Executable file
|
|
@ -0,0 +1,30 @@
|
|||
{ inputs
|
||||
, pkgs
|
||||
, ...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [
|
||||
# ./configuration
|
||||
];
|
||||
|
||||
nixpkgs = {
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
};
|
||||
};
|
||||
|
||||
home = {
|
||||
username = "admin";
|
||||
homeDirectory = "/home/admin";
|
||||
|
||||
# !!! DO NOT TOUCH !!!
|
||||
stateVersion = "26.05";
|
||||
};
|
||||
|
||||
# Enable essential programs.
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
# Nicely reload user system units when changed.
|
||||
systemd.user.startServices = "sd-switch";
|
||||
}
|
||||
27
hosts/cl-00-00/homes/kurisu/configuration/default.nix
Executable file
27
hosts/cl-00-00/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/cl-00-00/homes/kurisu/configuration/git.nix
Normal file
27
hosts/cl-00-00/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"
|
||||
];
|
||||
};
|
||||
}
|
||||
30
hosts/cl-00-00/homes/kurisu/home.nix
Executable file
30
hosts/cl-00-00/homes/kurisu/home.nix
Executable file
|
|
@ -0,0 +1,30 @@
|
|||
{ inputs
|
||||
, pkgs
|
||||
, ...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./configuration
|
||||
];
|
||||
|
||||
nixpkgs = {
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
};
|
||||
};
|
||||
|
||||
home = {
|
||||
username = "kurisu";
|
||||
homeDirectory = "/home/kurisu";
|
||||
|
||||
# !!! DO NOT TOUCH !!!
|
||||
stateVersion = "26.05";
|
||||
};
|
||||
|
||||
# Enable essential programs.
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
# Nicely reload user system units when changed.
|
||||
systemd.user.startServices = "sd-switch";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue