Adding nerdfonts
This commit is contained in:
+9
-8
@@ -145,6 +145,10 @@ The Nix flake definition for Droidnix.
|
|||||||
description = "Droidnix: A dendritic NixOS + Home Manager configuration";
|
description = "Droidnix: A dendritic NixOS + Home Manager configuration";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
|
|
||||||
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
|
nerdfonts.url = "github:nix-community/nerdfonts";
|
||||||
|
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "github:nix-community/home-manager";
|
url = "github:nix-community/home-manager";
|
||||||
@@ -192,14 +196,11 @@ outputs =
|
|||||||
lib.nixosSystem {
|
lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
modules = [
|
modules = [
|
||||||
#nerdfonts overlay
|
|
||||||
({ config, pkgs, ... }: {
|
nixpkgs.overlays = [
|
||||||
nixpkgs.overlays = [
|
inputs.nerdfonts.overlays.default
|
||||||
(final: prev: {
|
];
|
||||||
nerdfonts = prev.callPackage "${prev.path}/pkgs/data/fonts/nerdfonts" {};
|
|
||||||
})
|
|
||||||
];
|
|
||||||
})
|
|
||||||
|
|
||||||
# Import machine-specific configurations
|
# Import machine-specific configurations
|
||||||
./assets/flake/machines/traveldroid/top.nix
|
./assets/flake/machines/traveldroid/top.nix
|
||||||
|
|||||||
+9
-8
@@ -2,6 +2,10 @@
|
|||||||
description = "Droidnix: A dendritic NixOS + Home Manager configuration";
|
description = "Droidnix: A dendritic NixOS + Home Manager configuration";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
|
|
||||||
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
|
nerdfonts.url = "github:nix-community/nerdfonts";
|
||||||
|
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "github:nix-community/home-manager";
|
url = "github:nix-community/home-manager";
|
||||||
@@ -49,14 +53,11 @@ outputs =
|
|||||||
lib.nixosSystem {
|
lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
modules = [
|
modules = [
|
||||||
#nerdfonts overlay
|
|
||||||
({ config, pkgs, ... }: {
|
nixpkgs.overlays = [
|
||||||
nixpkgs.overlays = [
|
inputs.nerdfonts.overlays.default
|
||||||
(final: prev: {
|
];
|
||||||
nerdfonts = prev.callPackage "${prev.path}/pkgs/data/fonts/nerdfonts" {};
|
|
||||||
})
|
|
||||||
];
|
|
||||||
})
|
|
||||||
|
|
||||||
# Import machine-specific configurations
|
# Import machine-specific configurations
|
||||||
./assets/flake/machines/traveldroid/top.nix
|
./assets/flake/machines/traveldroid/top.nix
|
||||||
|
|||||||
Reference in New Issue
Block a user