feat(ymir): add new host, will use in reinstall.

This commit is contained in:
CronyAkatsuki 2025-05-15 23:21:28 +02:00
parent f09c91ad8f
commit 41747d82cc
4 changed files with 241 additions and 0 deletions

39
hosts/ymir/home.nix Normal file
View file

@ -0,0 +1,39 @@
{
pkgs,
inputs,
...
}: {
imports = [
inputs.nvf.homeManagerModules.default
inputs.nix-index-database.hmModules.nix-index
inputs.nix-flatpak.homeManagerModules.nix-flatpak
];
# Some info
home.username = "crony";
home.homeDirectory = "/home/crony";
# Enable syncthing
services.syncthing.enable = true;
# Default environmental variables
home.sessionVariables = {
EDITOR = "nvim";
WINEPREFIX = "$HOME/.local/share/wineprefix/default";
};
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
# Disable emulators for now
crony.emulators.enable = false;
# Disable restic for now
crony.restic.enable = false;
# Fix gtkrc-2.0 collision
home.file."/home/crony/.gtkrc-2.0".force = true;
# DO NOT CHANGE ALSO
home.stateVersion = "24.11"; # Please read the comment before changing.
}