Font : Download Apple and Nerd font.
This commit is contained in:
parent
82b6546a0c
commit
37c307ce58
|
@ -1,5 +1,23 @@
|
||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
|
"applefonts": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": "nixpkgs"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1708817447,
|
||||||
|
"narHash": "sha256-0B9vLw+L4Lg0EDtiyZRKwDmRaW/KAv2N0WEk+mHILFY=",
|
||||||
|
"ref": "refs/heads/main",
|
||||||
|
"rev": "aacb5fbf5906541d3d5b4d57cd130a4762701eb5",
|
||||||
|
"revCount": 1,
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.voronind.com/voronind/nix_applefonts.git"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.voronind.com/voronind/nix_applefonts.git"
|
||||||
|
}
|
||||||
|
},
|
||||||
"dotfiles": {
|
"dotfiles": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
|
@ -17,6 +35,22 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1708655239,
|
||||||
|
"narHash": "sha256-ZrP/yACUvDB+zbqYJsln4iwotbH6CTZiTkANJ0AgDv4=",
|
||||||
|
"owner": "nixos",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "cbc4211f0afffe6dfd2478a62615dd5175a13f9a",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nixos",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1707092692,
|
"lastModified": 1707092692,
|
||||||
"narHash": "sha256-ZbHsm+mGk/izkWtT4xwwqz38fdlwu7nUUKXTOmm4SyE=",
|
"narHash": "sha256-ZbHsm+mGk/izkWtT4xwwqz38fdlwu7nUUKXTOmm4SyE=",
|
||||||
|
@ -34,8 +68,9 @@
|
||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
"applefonts": "applefonts",
|
||||||
"dotfiles": "dotfiles",
|
"dotfiles": "dotfiles",
|
||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs_2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -5,9 +5,10 @@
|
||||||
url = "git+https://git.voronind.com/voronind/linux.git";
|
url = "git+https://git.voronind.com/voronind/linux.git";
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
|
applefonts.url = "git+https://git.voronind.com/voronind/nix_applefonts.git";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, dotfiles } @inputs: rec {
|
outputs = { self, nixpkgs, dotfiles, applefonts } @inputs: rec {
|
||||||
# Constant values.
|
# Constant values.
|
||||||
nixosModules.const = {
|
nixosModules.const = {
|
||||||
hashedPassword = "$y$j9T$oqCB16i5E2t1t/HAWaFd5.$tTaHtAcifXaDVpTcRv.yH2/eWKxKE9xM8KcqXHfHrD7"; # Use `mkpasswd`.
|
hashedPassword = "$y$j9T$oqCB16i5E2t1t/HAWaFd5.$tTaHtAcifXaDVpTcRv.yH2/eWKxKE9xM8KcqXHfHrD7"; # Use `mkpasswd`.
|
||||||
|
@ -24,6 +25,7 @@
|
||||||
./module/common/Filesystem.nix
|
./module/common/Filesystem.nix
|
||||||
./module/common/Firefox.nix
|
./module/common/Firefox.nix
|
||||||
./module/common/Firewall.nix
|
./module/common/Firewall.nix
|
||||||
|
./module/common/Font.nix
|
||||||
./module/common/Git.nix
|
./module/common/Git.nix
|
||||||
./module/common/Kernel.nix
|
./module/common/Kernel.nix
|
||||||
./module/common/Locale.nix
|
./module/common/Locale.nix
|
||||||
|
|
6
.config/linux/system/module/common/Font.nix
Normal file
6
.config/linux/system/module/common/Font.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{ pkgs, inputs, ... }: {
|
||||||
|
fonts.packages = with pkgs; [
|
||||||
|
inputs.applefonts.packages.${pkgs.system}.default
|
||||||
|
(nerdfonts.override { fonts = [ "Terminus" ]; })
|
||||||
|
];
|
||||||
|
}
|
11
.gitignore
vendored
11
.gitignore
vendored
|
@ -80,14 +80,3 @@
|
||||||
|
|
||||||
# User dirs.
|
# User dirs.
|
||||||
!/.config/user-dirs.dirs
|
!/.config/user-dirs.dirs
|
||||||
|
|
||||||
# Local configs.
|
|
||||||
!/.local/
|
|
||||||
/.local/*
|
|
||||||
!/.local/share/
|
|
||||||
/.local/share/*
|
|
||||||
|
|
||||||
# Fonts.
|
|
||||||
!/.local/share/fonts/
|
|
||||||
!/.local/share/fonts/**
|
|
||||||
/.local/share/fonts/**/.uuid
|
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show more
Reference in a new issue