121 lines
2.3 KiB
Nix
121 lines
2.3 KiB
Nix
{pkgs, lib, super-config, ...}:
|
|
let
|
|
user = import ../data/user.nix {};
|
|
in {
|
|
imports = [
|
|
./alacritty.nix
|
|
./firefox.nix
|
|
./sway.nix
|
|
./hyprlock_idle.nix
|
|
./wallpapers.nix
|
|
./waybar.nix
|
|
./udiskie.nix
|
|
./mako.nix
|
|
./zsh.nix
|
|
./rofi.nix
|
|
./libinput.nix
|
|
./git-ssh.nix
|
|
./emacs.nix
|
|
./syncthing.nix
|
|
./development
|
|
];
|
|
|
|
programs.nh = {
|
|
enable = true;
|
|
# flake = "/etc/nixos/config#laptop"
|
|
};
|
|
|
|
programs.direnv = {
|
|
enable = true;
|
|
nix-direnv.enable = true;
|
|
enableZshIntegration = true;
|
|
};
|
|
|
|
xdg.systemDirs.data = ["${pkgs.nordvpn}/share"];
|
|
|
|
gtk = {
|
|
enable = true;
|
|
theme = {
|
|
name = "Breeze-Dark";
|
|
package = pkgs.kdePackages.breeze-gtk;
|
|
};
|
|
iconTheme = {
|
|
name = "Papirus-Dark";
|
|
package = pkgs.papirus-icon-theme;
|
|
};
|
|
cursorTheme = {
|
|
name = "WhiteSur-cursors";
|
|
package = pkgs.whitesur-cursors;
|
|
size = 24;
|
|
};
|
|
|
|
gtk3.extraConfig = {
|
|
gtk-application-prefer-dark-theme = super-config.darkMode == true;
|
|
};
|
|
|
|
gtk4.extraConfig = {
|
|
gtk-application-prefer-dark-theme = super-config.darkMode == true;
|
|
};
|
|
};
|
|
|
|
dconf.settings = {
|
|
"org/gnome/desktop/interface" = {
|
|
color-scheme = lib.optionals (super-config.darkMode == true) "prefer-dark";
|
|
};
|
|
};
|
|
|
|
fonts.fontconfig.enable = true;
|
|
home = {
|
|
stateVersion = "25.05";
|
|
homeDirectory = "/home/${user.username}";
|
|
username = user.username;
|
|
|
|
shell.enableZshIntegration = true;
|
|
|
|
sessionVariables = {
|
|
SSH_AUTH_SOCK = "/run/user/1000/ssh-agent";
|
|
EDITOR = "nvim";
|
|
VISUAL = "nvim";
|
|
GTK_THEME = "Breeze-Dark";
|
|
NIXOS_OZONE_WL = "1";
|
|
};
|
|
|
|
pointerCursor = {
|
|
gtk.enable = true;
|
|
x11.enable = true;
|
|
x11.defaultCursor = "WhiteSur-cursors";
|
|
name = "WhiteSur-cursors";
|
|
package = pkgs.whitesur-cursors;
|
|
size = 32;
|
|
};
|
|
|
|
|
|
packages = with pkgs; [
|
|
# Add your global packages here
|
|
duralumin
|
|
duralumin-keygen
|
|
neovim
|
|
bottom
|
|
git
|
|
wget
|
|
curl
|
|
htop
|
|
tree
|
|
htop
|
|
pavucontrol
|
|
ripgrep
|
|
killall
|
|
x11_ssh_askpass
|
|
vanilla-dmz
|
|
(discord.override {withVencord = true;})
|
|
bitwarden-desktop
|
|
bitwarden-cli
|
|
|
|
# file manager
|
|
nemo-with-extensions
|
|
|
|
screenshot
|
|
];
|
|
};
|
|
}
|