feat(nixos): add stylix

This commit is contained in:
Mohammad Rafiq 2025-03-03 13:58:11 +08:00
parent 8b0f7472de
commit 963ce3d523
3 changed files with 445 additions and 6 deletions

View file

@ -1,11 +1,7 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{
config,
pkgs,
...
}: {
{pkgs, ...}: {
imports = [
# Include the results of the hardware scan.
./hw-nemesis.nix
@ -90,6 +86,9 @@
# Or disable the firewall altogether.
# networking.firewall.enable = false;
stylix.enable = true;
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave