[Nix] Reorganizes files a bit.

This commit is contained in:
2025-02-10 20:03:49 -08:00
parent bc63a8952f
commit 908002fd6c
5 changed files with 69 additions and 55 deletions

View File

@@ -1,10 +1,10 @@
{ pkgs, inputs, ... }:
{
imports = [
./features/audio.nix
./features/hyprland.nix
./features/linux-desktop.nix
./features/development-linux.nix
./features/haskell.nix
./features/nix.nix
];
home.stateVersion = "24.11";
@@ -12,22 +12,14 @@
home.username = "drew";
home.homeDirectory = "/home/drew";
nix.settings.experimental-features = ["flakes" "nix-command"];
home.packages = with pkgs; [
# Development
git
nix-prefetch-github
# Applications
discord
webcord # Discord app replacement
element-desktop
signal-desktop
obsidian
firefox
waypaper # Wallpaper switcher
feh
# Gaming
mangohud
@@ -39,26 +31,6 @@
})
protonup-ng
vulkan-tools # useful for debugging Vulkan issues
# Desktop Environment
networkmanagerapplet # network control
hyprlock # lock screen
wofi # launcher
hyprpaper # wallpaper
swayidle # lock on idle
swayosd # volume pop-up
eww # widgets
swaynotificationcenter # notifications
hyprpolkitagent # Privilege managent
gnome-keyring # Secret management
glib # for Gnome/GTK settings
xdg-desktop-portal-hyprland
xdg-desktop-portal-gtk # GTK backend for XDG components like pickers
grim # Screenshot provider
hyprshot # Screenshot utility
nwg-look # GTK settings editor
playerctl # for universal play/pause etc
wirelesstools
];
xdg.desktopEntries = {
@@ -69,30 +41,6 @@
};
};
# Hint for electron apps to use wayland
home.sessionVariables.NIXOS_OZONE_WL = "1";
# GTK settings
gtk = {
enable = true;
theme = {
name = "Adwaita-dark";
package = pkgs.gnome-themes-extra;
};
gtk3.extraConfig = {
gtk-application-prefer-dark-theme = true;
};
gtk4.extraConfig = {
gtk-application-prefer-dark-theme = true;
};
};
qt = {
enable = true;
platformTheme.name = "adwaita";
style.name = "adwaita-dark";
};
programs.git = {
userName = "Drew Haven";
userEmail = "drew.haven@gmail.com";