From 4ae9ba2428b3c3efd2ada952916d38a792640b5c Mon Sep 17 00:00:00 2001 From: joy Date: Sat, 31 Aug 2024 17:47:11 +0200 Subject: [PATCH] font --- modules/hyprland/style/font/default.nix | 6 ++++++ modules/system/default.nix | 17 ++--------------- modules/system/homemanger/default.nix | 9 +++++++++ 3 files changed, 17 insertions(+), 15 deletions(-) create mode 100644 modules/hyprland/style/font/default.nix diff --git a/modules/hyprland/style/font/default.nix b/modules/hyprland/style/font/default.nix new file mode 100644 index 0000000..43d8e26 --- /dev/null +++ b/modules/hyprland/style/font/default.nix @@ -0,0 +1,6 @@ +{pkgs, ...}: { + fonts.packages = with pkgs; [ + font-awesome + (nerdfonts.override {fonts = ["FiraCode"];}) + ]; +} diff --git a/modules/system/default.nix b/modules/system/default.nix index 2729a6c..8ddac8b 100644 --- a/modules/system/default.nix +++ b/modules/system/default.nix @@ -1,25 +1,12 @@ -{pkgs, ...}: { - fonts.packages = with pkgs; [ - font-awesome - (nerdfonts.override {fonts = ["FiraCode"];}) - ]; +{...}: { nix.settings.experimental-features = ["nix-command" "flakes"]; - programs.nix-ld.enable = true; - services.printing.enable = true; time.timeZone = "Europe/Zurich"; system.stateVersion = "23.11"; - home-manager.backupFileExtension = "backup"; - home-manager.users.joy.home = { - username = "joy"; - homeDirectory = "/home/joy"; - stateVersion = "23.11"; - sessionVariables = { - }; - }; services.devmon.enable = true; services.udisks2.enable = true; + services.printing.enable = true; services.gvfs.enable = true; imports = [ diff --git a/modules/system/homemanger/default.nix b/modules/system/homemanger/default.nix index 940300c..b247667 100644 --- a/modules/system/homemanger/default.nix +++ b/modules/system/homemanger/default.nix @@ -8,4 +8,13 @@ "video/jpg" = ["mpv.desktop"]; "video/*" = ["mpv.desktop"]; }; + + home-manager.backupFileExtension = "backup"; + home-manager.users.joy.home = { + username = "joy"; + homeDirectory = "/home/joy"; + stateVersion = "23.11"; + sessionVariables = { + }; + }; }