📦 Created config files with common code

- Created common.nix for various configs
- Created theme.nix for theme related configs
- Moved some code to more logical files
- Moved some standalone files into nix multiline strings, in order to
  inject data
This commit is contained in:
2025-01-07 20:18:30 +01:00
parent e223999ae1
commit 1133e01eff
31 changed files with 650 additions and 675 deletions

View File

@ -1,9 +1,8 @@
# System configurations for Hyprland. For home configs, see ./home/hyprland
# System configurations for Hyprland. For home configs, see ./home-manager/hyprland
{ pkgs, ... }:
{
imports = [
./waybar.nix
./wallpaper.nix
];
@ -11,6 +10,7 @@
xdg-desktop-portal-hyprland
hyprpolkitagent # Auth deamon providing modals for password auth
hyprshot # Screenshots
waybar
];
programs = {

View File

@ -1,12 +0,0 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
waybar
font-awesome # Icons
];
fonts.packages = with pkgs; [
font-awesome
];
}