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
|
|
|
|
# '';
|
2024-07-31 16:52:12 -07:00
|
|
|
|
2024-08-06 00:13:05 -07:00
|
|
|
home.file.".config/neofetch/config.conf".source =
|
|
|
|
../../../config/neofetch.conf;
|
2024-07-31 18:57:17 -07:00
|
|
|
home.file.".wallpapers" = {
|
2024-08-06 00:11:19 -07:00
|
|
|
source = ../../../wallpapers;
|
2024-07-31 18:57:17 -07:00
|
|
|
recursive = true;
|
|
|
|
};
|
2024-07-11 03:56:19 -07:00
|
|
|
|
|
|
|
# Packages that should be installed to the user profile.
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
neofetch
|
|
|
|
|
|
|
|
# archives
|
|
|
|
zip
|
|
|
|
xz
|
|
|
|
unzip
|
|
|
|
p7zip
|
|
|
|
|
|
|
|
# utils
|
2024-07-30 19:44:17 -07:00
|
|
|
nurl # helps fetch git data for nixpkgs
|
2024-07-11 03:56:19 -07:00
|
|
|
|
|
|
|
# nix related
|
|
|
|
#
|
|
|
|
# it provides the command `nom` works just like `nix`
|
|
|
|
# with more details log output
|
|
|
|
nix-output-monitor
|
|
|
|
|
|
|
|
# system tools
|
|
|
|
pciutils # lspci
|
|
|
|
usbutils # lsusb
|
2024-07-30 04:36:35 -07:00
|
|
|
|
|
|
|
# desktop utils
|
2024-07-11 21:45:18 -07:00
|
|
|
wl-clipboard
|
2024-07-11 22:06:02 -07:00
|
|
|
grim
|
|
|
|
slurp
|
|
|
|
swappy
|
2024-07-30 04:36:35 -07:00
|
|
|
pavucontrol
|
|
|
|
swww
|
|
|
|
waypaper
|
2024-07-11 03:56:19 -07:00
|
|
|
|
2024-07-30 04:36:35 -07:00
|
|
|
# desktop apps
|
|
|
|
dolphin
|
|
|
|
bitwarden-desktop
|
|
|
|
thunderbird
|
|
|
|
spotify
|
2024-07-11 03:56:19 -07:00
|
|
|
vesktop
|
|
|
|
signal-desktop
|
2024-07-31 16:55:55 -07:00
|
|
|
modrinth-app
|
2024-08-01 02:40:17 -07:00
|
|
|
lutris
|
2024-08-01 03:23:08 -07:00
|
|
|
wine
|
2024-07-11 03:56:19 -07:00
|
|
|
|
2024-07-30 04:36:35 -07:00
|
|
|
# dev tools
|
2024-07-11 03:56:19 -07:00
|
|
|
nodePackages_latest.pnpm
|
|
|
|
rustfmt
|
|
|
|
rust-analyzer
|
|
|
|
|
2024-07-30 04:36:35 -07:00
|
|
|
# desktop ricing
|
2024-07-11 16:57:24 -07:00
|
|
|
bibata-cursors
|
2024-07-11 20:01:04 -07:00
|
|
|
libsForQt5.qtstyleplugin-kvantum
|
|
|
|
libsForQt5.qt5ct
|
2024-07-11 21:56:03 -07:00
|
|
|
papirus-icon-theme
|
|
|
|
libsForQt5.qt5ct
|
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;
|
|
|
|
}
|