mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 01:53:15 -06:00
generalize fonts
This commit is contained in:
parent
fa36228045
commit
f9e32c5198
5 changed files with 8 additions and 10 deletions
6
modules/fonts.nix
Normal file
6
modules/fonts.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{pkgs,...}:{
|
||||
fonts.fontconfig.enable = true;
|
||||
fonts.packages = with pkgs; [
|
||||
(nerdfonts.override {fonts = ["FiraCode"];})
|
||||
];
|
||||
}
|
|
@ -12,11 +12,6 @@ in
|
|||
{
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
fonts.fontconfig.enable = true;
|
||||
fonts.packages = with pkgs; [
|
||||
(nerdfonts.override {fonts = ["FiraCode"];})
|
||||
];
|
||||
|
||||
security.pam.services.swaylock = {};
|
||||
programs.hyprland.package = inputs.hyprland.packages.${pkgs.system}.default;
|
||||
# Optional, hint electron apps to use wayland:
|
||||
|
|
|
@ -7,10 +7,6 @@
|
|||
./lock
|
||||
];
|
||||
|
||||
fonts.fontconfig.enable = true;
|
||||
fonts.packages = with pkgs; [
|
||||
(nerdfonts.override {fonts = ["FiraCode"];})
|
||||
];
|
||||
|
||||
# Enable the X11 windowing system.
|
||||
services.xserver = {
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
cli
|
||||
dev
|
||||
nvim
|
||||
vpn
|
||||
|
||||
# langs
|
||||
python
|
||||
|
|
|
@ -5,9 +5,9 @@
|
|||
...
|
||||
}: {
|
||||
imports = with inputs.self.nixosModules; [
|
||||
fonts
|
||||
gui
|
||||
vscode
|
||||
vpn
|
||||
hyprland
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue