This repository has been archived on 2023-07-23. You can view files and clone it, but cannot push or open issues or pull requests.
gpd-configurations/home/user/home.nix

91 lines
2.0 KiB
Nix
Raw Normal View History

2023-07-04 08:53:01 +00:00
{ pkgs, ... }: {
home = {
stateVersion = "23.05"; # Static
username = "user";
homeDirectory = "/home/user";
2023-07-04 08:53:01 +00:00
packages = with pkgs; [
btop
bat
thefuck
2023-07-17 06:31:27 +00:00
#ranger
2023-07-04 08:53:01 +00:00
icdiff
#rofi
#rofi-rbw
#nwg-launchers
nwg-bar
nwg-drawer
gnumake42
wget
axel
grim
slurp
unzip
p7zip
#appimage-run
cmatrix
gnome.gnome-software
];
2023-07-04 08:53:01 +00:00
sessionPath = [
".local/bin"
#"Applications"
];
2023-06-21 05:46:27 +00:00
2023-07-04 08:53:01 +00:00
sessionVariables = {
TERM = "kitty";
#GTK_IM_MODULE = "fcitx";
#QT_IM_MODULE = "fcitx";
#SDL_VIDEODRIVER = "wayland";
#SDL_IM_MODULE = "fcitx";
};
2023-06-27 15:10:56 +00:00
2023-07-04 08:53:01 +00:00
shellAliases = {
cao = "fuck";
top = "btop";
ls = "ls --color=auto";
cat = "bat -p --paging=never -u";
diff = "icdiff";
};
2023-07-04 08:53:01 +00:00
file = {
# hyprland
".config/hypr/hyprland.conf".source = ./files/hyprland.conf;
".config/hypr/hyprpaper.conf".source = ./files/hyprpaper.conf;
2023-06-21 05:46:27 +00:00
2023-07-04 08:53:01 +00:00
# ranger
2023-07-17 06:54:03 +00:00
#".config/ranger/rc.conf".source = ./files/ranger-rc.conf;
2023-06-27 02:44:31 +00:00
2023-07-04 08:53:01 +00:00
# nwg
#".config/nwg-launchers".source = ./files/nwg-launchers;
".config/nwg-drawer".source = ./files/nwg-drawer;
".config/nwg-bar".source = ./files/nwg-bar;
2023-06-27 22:33:52 +00:00
2023-07-04 08:53:01 +00:00
# wallpapers
".local/share/wallpapers".source = ./wallpapers;
2023-06-29 03:38:56 +00:00
2023-07-04 08:53:01 +00:00
# Use flatseal to change permissions.
#".local/share/fonts".source = /run/current-system/sw/share/X11/fonts;
2023-06-21 08:11:21 +00:00
2023-07-04 08:53:01 +00:00
# Fix flatpak fonts
".local/share/flatpak/overrides/global".text = ''
[Context]
sockets=wayland
filesystems=/run/current-system/sw/share/X11/fonts:ro;/nix/store:ro;~/.icons;
'';
2023-06-29 09:17:58 +00:00
2023-07-04 08:53:01 +00:00
# Electron global settings
".config/electron-flags.conf".text = ''
--enable-features=WaylandWindowDecorations
--ozone-platform-hint=auto
--enable-webrtc-pipewire-capturer
'';
2023-06-29 09:17:58 +00:00
2023-07-04 08:53:01 +00:00
".config/electron13-flags.conf".text = ''
--enable-features=UseOzonePlatform
--ozone-platform=wayland
'';
};
2023-07-04 08:53:01 +00:00
};
}