created defaults, created common fonts, modified root flake nix

This commit is contained in:
2024-12-18 13:07:02 -05:00
parent ea8607eb41
commit 1e3ffdf0a3
8 changed files with 52 additions and 31 deletions

View File

@ -0,0 +1,7 @@
{...}: {
imports = [
./core.nix
./fonts.nix
./users.nix
];
}

14
modules/common/fonts.nix Normal file
View File

@ -0,0 +1,14 @@
{
pkgs,
lib,
}: {
fonts.packages = with pkgs;
[
noto-fonts
noto-fonts-emoji
liberation_ttf
noto-fonts-cjk
monaspace
]
++ builtins.filter lib.attrsets.isDerivation (builtins.attrValues pkgs.nerd-fonts);
}

View File

@ -48,16 +48,6 @@
patchelf
];
# Install system-wide fonts
fonts.packages = with pkgs; [
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
liberation_ttf
monaspace
nerdfonts
];
# Set the EDITOR global environment variable to neovim
environment.variables.EDITOR = "nvim";

View File

@ -0,0 +1,6 @@
{...}: {
imports = [
./configuration.nix
./hardware-configuration.nix
];
}

View File

@ -168,9 +168,9 @@
system.stateVersion = 5;
containers.podman = {
enable = true;
dockerCompat = false;
enable = false;
extraPackages = with pkgs; [
podman
docker-credential-helpers
cosign
crane

View File

@ -0,0 +1,6 @@
{...}: {
imports = [
./apps.nix
./configuration.nix
];
}