initial commit
This commit is contained in:
commit
07d4f917bd
83 changed files with 3762 additions and 0 deletions
96
home.nix
Normal file
96
home.nix
Normal file
|
|
@ -0,0 +1,96 @@
|
|||
{ config, pkgs, pkgs-unstable, lib, ... }:
|
||||
let configDir = ./user/config;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./user/sh.nix
|
||||
./user/git
|
||||
];
|
||||
|
||||
home.username = "gpskwlkr";
|
||||
home.homeDirectory = "/home/gpskwlkr";
|
||||
home.stateVersion = "23.11";
|
||||
|
||||
home.packages = [
|
||||
pkgs.nnn
|
||||
pkgs.qbittorrent
|
||||
pkgs.telegram-desktop
|
||||
pkgs.fnm
|
||||
pkgs.blueberry
|
||||
|
||||
pkgs-unstable.vesktop
|
||||
pkgs-unstable.hyprshot
|
||||
];
|
||||
|
||||
|
||||
# FIX: make it automatically scan config dir and symlink all folders
|
||||
home.file = {
|
||||
".config/nvim".source = "${configDir}/nvim";
|
||||
".config/wallpapers".source = "${configDir}/wallpapers";
|
||||
".config/kitty".source = "${configDir}/kitty";
|
||||
".config/neofetch".source = "${configDir}/neofetch";
|
||||
".config/hypr".source = "${configDir}/hypr";
|
||||
".config/swayidle".source = "${configDir}/swayidle";
|
||||
".config/swaylock".source = "${configDir}/swaylock";
|
||||
".config/wlogout".source = "${configDir}/wlogout";
|
||||
".config/waybar".source = "${configDir}/waybar";
|
||||
".config/btop".source = "${configDir}/btop";
|
||||
".config/wofi".source = "${configDir}/wofi";
|
||||
".config/mako".source = "${configDir}/mako";
|
||||
};
|
||||
|
||||
gtk = {
|
||||
enable = true;
|
||||
|
||||
cursorTheme = {
|
||||
name = "Catppuccin-Macchiato-Teal";
|
||||
package = pkgs.catppuccin-gtk;
|
||||
};
|
||||
|
||||
gtk3.extraConfig = {
|
||||
Settings = ''
|
||||
gtk-application-prefer-dark-theme = 1;
|
||||
gtk-cursor-theme-name=Catppuccin-Macchiato-Teal
|
||||
'';
|
||||
};
|
||||
|
||||
gtk4.extraConfig = {
|
||||
Settings = ''
|
||||
gtk-application-prefer-dark-theme = 1;
|
||||
gtk-cursor-theme-name=Catppuccin-Macchiato-Teal
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
home.sessionVariables = {
|
||||
BROWSER = "firefox";
|
||||
EDITOR = "nvim";
|
||||
TERMINAL = "kitty";
|
||||
#NIXOS_OZONE_WL = "1";
|
||||
QT_QPA_PLATFORMTHEME = "gtk3";
|
||||
QT_SCALE_FACTOR = "1";
|
||||
MOZ_ENABLE_WAYLAND = "1";
|
||||
SDL_VIDEODRIVER = "wayland";
|
||||
QT_QPA_PLATFORM = "wayland-egl";
|
||||
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
||||
QT_AUTO_SCREEN_SCALE_FACTOR = "1";
|
||||
WLR_DRM_DEVICES = "/dev/dri/card0";
|
||||
#WLR_NO_HARDWARE_CURSORS = "1"; # if no cursor,uncomment this line
|
||||
CLUTTER_BACKEND = "wayland";
|
||||
WLR_RENDERER = "vulkan";
|
||||
XCURSOR_SIZE = "24";
|
||||
XDG_CURRENT_DESKTOP = "Hyprland";
|
||||
XDG_SESSION_DESKTOP = "Hyprland";
|
||||
XDG_SESSION_TYPE = "wayland";
|
||||
GTK_USE_PORTAL = "1";
|
||||
#NIXOS_XDG_OPEN_USE_PORTAL = "1";
|
||||
XDG_CACHE_HOME = "\${HOME}/.cache";
|
||||
XDG_CONFIG_HOME = "\${HOME}/.config";
|
||||
#XDG_BIN_HOME = "\${HOME}/.local/bin";
|
||||
XDG_DATA_HOME = "\${HOME}/.local/share";
|
||||
|
||||
};
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue