106 lines
1.8 KiB
Nix
106 lines
1.8 KiB
Nix
{pkgs, ...}:
|
|
let
|
|
user = import ../data/user.nix {};
|
|
in {
|
|
imports = [
|
|
./alacritty.nix
|
|
./development
|
|
./emacs.nix
|
|
./firefox.nix
|
|
./git-ssh.nix
|
|
./hyprlock_idle.nix
|
|
./libinput.nix
|
|
./mako.nix
|
|
./rofi.nix
|
|
./sway.nix
|
|
./syncthing.nix
|
|
./theme.nix
|
|
./udiskie.nix
|
|
./wallpapers.nix
|
|
./waybar.nix
|
|
./zsh.nix
|
|
];
|
|
|
|
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"];
|
|
portal = {
|
|
enable = true;
|
|
extraPortals = with pkgs; [
|
|
xdg-desktop-portal
|
|
xdg-desktop-portal-wlr
|
|
xdg-desktop-portal-gtk
|
|
xdg-desktop-portal-xapp
|
|
];
|
|
};
|
|
};
|
|
|
|
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";
|
|
};
|
|
|
|
packages = with pkgs; [
|
|
# Add your global packages here
|
|
mpv
|
|
sxiv
|
|
feh
|
|
duralumin
|
|
duralumin-keygen
|
|
ranger
|
|
neovim
|
|
bottom
|
|
git
|
|
wget
|
|
curl
|
|
htop
|
|
tree
|
|
htop
|
|
pavucontrol
|
|
ripgrep
|
|
killall
|
|
x11_ssh_askpass
|
|
xdg-utils
|
|
vanilla-dmz
|
|
(discord.override {withVencord = true;})
|
|
spotify
|
|
pkgs.unstable.zed-editor-fhs
|
|
file
|
|
bitwarden-desktop
|
|
bitwarden-cli
|
|
|
|
# for running wayland apps over ssh
|
|
waypipe
|
|
pkgs.unstable.deskflow
|
|
|
|
foliate
|
|
|
|
# file manager
|
|
nemo-with-extensions
|
|
|
|
screenshot
|
|
];
|
|
};
|
|
}
|