liminalOS/users/youwen/linux/home.nix

40 lines
1.2 KiB
Nix
Raw Normal View History

2024-07-11 03:56:19 -07:00
{ config, pkgs, ... }:
{
home.username = "youwen";
home.homeDirectory = "/home/youwen";
# link the configuration file in current directory to the specified location in home directory
# home.file.".config/i3/wallpaper.jpg".source = ./wallpaper.jpg;
# link all files in `./scripts` to `~/.config/i3/scripts`
# home.file.".config/i3/scripts" = {
# source = ./scripts;
# recursive = true; # link recursively
# executable = true; # make all files executable
# };
# encode the file content in nix configuration file directly
# home.file.".xxx".text = ''
# xxx
# '';
home.file.".config/neofetch/config.conf".source = ../common/neofetch.conf
2024-07-31 18:57:17 -07:00
home.file.".wallpapers" = {
source = ../../../wallpapers;
2024-07-31 18:57:17 -07:00
recursive = true;
};
2024-07-11 03:56:19 -07:00
# 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.
home.stateVersion = "24.05";
#
# 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.
# Let home Manager install and manage itself.
programs.home-manager.enable = true;
}