mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 12:49:32 -08:00
42 lines
924 B
Nix
42 lines
924 B
Nix
|
{ config, pkgs, ... }:
|
||
|
|
||
|
let
|
||
|
user = "nixolas";
|
||
|
editor = "vim";
|
||
|
in
|
||
|
{
|
||
|
|
||
|
# Let Home Manager install and manage itself.
|
||
|
programs.home-manager.enable = true;
|
||
|
|
||
|
home = {
|
||
|
# Home Manager needs a bit of information about you and the
|
||
|
# paths it should manage.
|
||
|
username = user;
|
||
|
homeDirectory = "/home/${user}";
|
||
|
|
||
|
# This value determines the Home Manager release that your
|
||
|
# configuration is compatible with. This helps avoid breakage
|
||
|
# when a new Home Manager release introduces backwards
|
||
|
# incompatible changes.
|
||
|
#
|
||
|
# You can update Home Manager without changing this value. See
|
||
|
# the Home Manager release notes for a list of state version
|
||
|
# changes in each release.
|
||
|
stateVersion = "22.05";
|
||
|
|
||
|
packages = with pkgs; [
|
||
|
neofetch
|
||
|
ranger
|
||
|
obsidian
|
||
|
|
||
|
# Gui application
|
||
|
firefox
|
||
|
];
|
||
|
|
||
|
sessionVariables = {
|
||
|
EDITOR = editor;
|
||
|
};
|
||
|
};
|
||
|
}
|