[Nix] Reorganizes files a bit.
This commit is contained in:
@@ -4,5 +4,5 @@
|
||||
imports = [
|
||||
./development.nix
|
||||
./ssh.nix
|
||||
]
|
||||
];
|
||||
}
|
||||
|
||||
55
home-manager/features/linux-desktop.nix
Normal file
55
home-manager/features/linux-desktop.nix
Normal file
@@ -0,0 +1,55 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./hyprland.nix
|
||||
./audio.nix
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
# Desktop Environment
|
||||
feh
|
||||
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
|
||||
];
|
||||
|
||||
# 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 theming
|
||||
qt = {
|
||||
enable = true;
|
||||
platformTheme.name = "adwaita";
|
||||
style.name = "adwaita-dark";
|
||||
};
|
||||
}
|
||||
10
home-manager/features/nix.nix
Normal file
10
home-manager/features/nix.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
# Useful for getting the import information from github info for flakes.
|
||||
nix-prefetch-github
|
||||
];
|
||||
|
||||
# Enable flakes and nix-commnands.
|
||||
nix.settings.experimental-features = ["flakes" "nix-command"];
|
||||
}
|
||||
Reference in New Issue
Block a user