changed icons to papirus and styled login

This commit is contained in:
Lorenz Hohermuth 2024-07-28 17:05:59 +02:00
parent 670d44fec8
commit 7e00113444
3 changed files with 26 additions and 11 deletions

View File

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page, on # your system. Help is available in the configuration.nix(5) man page, on
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`). # https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{ config, lib, pkgs, callPackage, ... }: { config, lib, pkgs, callPackage, catppuccinFlavor, ... }:
{ {
imports = imports =
@ -10,6 +10,8 @@
./hardware-configuration.nix ./hardware-configuration.nix
]; ];
catppuccin.flavor = catppuccinFlavor;
catppuccin.enable = true;
programs.dconf.enable = true; programs.dconf.enable = true;
# Use the systemd-boot EFI boot loader. # Use the systemd-boot EFI boot loader.
@ -31,7 +33,12 @@
# Enable the X11 windowing system # Enable the X11 windowing system
services.xserver = { services.xserver = {
enable = true; enable = true;
displayManager = {
sddm = {
enable = true;
package = pkgs.kdePackages.sddm;
};
};
desktopManager = { desktopManager = {
xterm.enable = false; xterm.enable = false;
}; };
@ -91,6 +98,7 @@
environment.shells = with pkgs; [ zsh ]; environment.shells = with pkgs; [ zsh ];
users.defaultUserShell = pkgs.zsh; users.defaultUserShell = pkgs.zsh;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
auto-cpufreq
neovim neovim
wget wget
neofetch neofetch

View File

@ -16,11 +16,18 @@
lib = nixpkgs.lib; lib = nixpkgs.lib;
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
catppuccinFlavor = "macchiato";
in { in {
nixosConfigurations = { nixosConfigurations = {
hp-laptop-lho = lib.nixosSystem { hp-laptop-lho = lib.nixosSystem {
inherit system; inherit system;
modules = [ ./configuration.nix ]; specialArgs = {
inherit catppuccinFlavor;
};
modules = [
./configuration.nix
catppuccin.nixosModules.catppuccin
];
}; };
}; };
homeConfigurations = { homeConfigurations = {
@ -28,6 +35,7 @@
inherit pkgs; inherit pkgs;
extraSpecialArgs = { extraSpecialArgs = {
inherit inputs; inherit inputs;
inherit catppuccinFlavor;
}; };
modules = [ modules = [
./home.nix ./home.nix

View File

@ -1,4 +1,4 @@
{ config, pkgs, inputs, ... }: { config, pkgs, inputs, catppuccinFlavor, ... }:
{ {
imports = [ imports = [
inputs.spicetify-nix.homeManagerModules.default inputs.spicetify-nix.homeManagerModules.default
@ -16,15 +16,13 @@
shuffle # shuffle+ (special characters are sanitized out of extension names) shuffle # shuffle+ (special characters are sanitized out of extension names)
]; ];
theme = spicePkgs.themes.catppuccin; theme = spicePkgs.themes.catppuccin;
colorScheme = "macchiato"; colorScheme = catppuccinFlavor;
}; };
#themes #themes
catppuccin.flavor = "macchiato"; catppuccin.flavor = catppuccinFlavor;
catppuccin.enable = true; catppuccin.enable = true;
gtk.cursorTheme.package = pkgs.bibata-cursors;
gtk.cursorTheme.name = "Bibata-Modern-Ice";
gtk = { gtk = {
enable = true; enable = true;
catppuccin = { catppuccin = {
@ -32,11 +30,12 @@
size = "standard"; size = "standard";
tweaks = [ "normal" ]; tweaks = [ "normal" ];
}; };
iconTheme = {
package = pkgs.papirus-icon-theme;
name = "Papirus Dark";
};
}; };
# gtk.theme.package = pkgs.catppuccin-gtk;
# gtk.theme.name = "adw-gtk3-dark";
qt = { qt = {
enable = true; enable = true;
platformTheme.name = "kvantum"; platformTheme.name = "kvantum";