Files
home-manager/home.nix

50 lines
1.4 KiB
Nix

{ config, pkgs, ... }:
let
profile = import ./profile.nix;
home-directory = "/home/${profile.username}";
ssh-filename = "${home-directory}/.ssh/id_ed25519";
in
{
# Home Manager needs a bit of information about you and the paths it should
# manage.
home.username = "nichkara";
home.homeDirectory = "/home/nichkara";
# Configuration options around here
home.stateVersion = "25.11";
imports = [
./terminal-environment/config.nix
#./system-environment/config.nix
./desktop-environment/config.nix
];
# The home.packages option allows you to install Nix packages into your
# environment.
home.packages = with pkgs; [
];
# Home Manager is pretty good at managing dotfiles. The primary way to manage
# plain files is through 'home.file'.
home.file = {
# # Building this configuration will create a copy of 'dotfiles/screenrc' in
# # the Nix store. Activating the configuration will then make '~/.screenrc' a
# # symlink to the Nix store copy.
# ".screenrc".source = dotfiles/screenrc;
# # You can also set the file content immediately.
# ".gradle/gradle.properties".text = ''
# org.gradle.console=verbose
# org.gradle.daemon.idletimeout=3600000
# '';
};
home.sessionVariables = {
EDITOR = "nvim";
};
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
}