major refactor and reorg

This commit is contained in:
Matt Nish-Lapidus 2025-02-04 20:58:42 -05:00
parent 4da9b4919e
commit 0a9342ea3e
4 changed files with 46 additions and 27 deletions

View file

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ nix-config, config, pkgs, lib, inputs, ... }:
{ nix-config, config, pkgs, inputs, ... }:
{
@ -25,12 +25,13 @@
nix = {
# registry.nixpkgs.flake = nixpkgs;
channel.enable = false;
# channel.enable = false;
settings = {
experimental-features = [ "nix-command" "flakes" ];
substituters = [ "https://nix-community.cachix.org" ];
substituters = [ "https://nix-community.cachix.org" "https://cache.garnix.io" ];
trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
];
# Workaround for https://github.com/NixOS/nix/issues/9574
nix-path = config.nix.nixPath;
@ -511,9 +512,32 @@
libudev-zero.out
];
fonts.fontconfig = {
enable = true;
useEmbeddedBitmaps = true;
fonts = {
enableDefaultPackages = true;
fontDir.enable = true;
fontconfig = {
enable = true;
useEmbeddedBitmaps = true;
};
packages = with pkgs; [
fira-code
font-awesome
fira
cooper-hewitt
ibm-plex
jetbrains-mono
iosevka
spleen
fira-code-symbols
powerline-fonts
noto-fonts-color-emoji
noto-fonts
noto-fonts-cjk-sans
noto-fonts-emoji
nerd-fonts.jetbrains-mono
nerd-fonts.fira-code
nerd-fonts._0xproto
];
};
powerManagement = {