fonts.fonts -> fonts.packages

This commit is contained in:
makefu 2024-01-15 22:48:35 +01:00
parent c559d6ac76
commit c15e2d22af
No known key found for this signature in database
GPG key ID: 36F7711F3FC0F225
6 changed files with 7 additions and 6 deletions

View file

@ -1,6 +1,6 @@
{pkgs, config, ...}:
{
fonts.fonts = [ pkgs.font-awesome_5 ];
fonts.packages = [ pkgs.font-awesome_5 ];
# Neovim dependencies
home-manager.users.makefu = {
home.packages = with pkgs; [

View file

@ -3,7 +3,7 @@
fonts = {
fontDir.enable = true;
enableGhostscriptFonts = true;
fonts = with pkgs; [
packages = with pkgs; [
inconsolata # monospaced
ubuntu_font_family # Ubuntu fonts
unifont # some international languages

View file

@ -45,7 +45,7 @@ in
fonts = {
fontDir.enable = true;
enableGhostscriptFonts = true;
fonts = [ pkgs.terminus_font pkgs.corefonts ];
packages = [ pkgs.terminus_font pkgs.corefonts ];
};
users.users.${mainUser} = {

View file

@ -2,7 +2,7 @@
{
imports = [
./base.nix
./base.nix
];
users.users.kiosk = {

View file

@ -15,7 +15,7 @@ in
systemd.services.jellyfin = {
after = [ "media-cloud.mount" ];
serviceConfig = rec {
RequiresMountFor = [ "/media/cloud" ];
RequiresMountsFor = [ "/media/cloud" ];
SupplementaryGroups = lib.mkForce [ "video" "render" "download" ];
UMask = lib.mkForce "0077";
};

View file

@ -54,10 +54,11 @@
inherit (nixpkgs) lib pkgs;
pkgsForSystem = system: (import nixpkgs {
inherit system;
#system = "x86_64-linux";
config.allowUnfree = true;
config.packageOverrides = lib.mkForce (pkgs: { tinc = pkgs.tinc_pre; });
config.allowUnfreePredicate = pkg: lib.packageName pkg == "unrar";
config.android_sdk.accept_license = true;
config.oraclejdk.accept_license = true
overlays = [
self.overlays.default
inputs.nix-writers.overlays.default