mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 18:30:43 -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 {
|
config = mkIf cfg.enable {
|
||||||
|
|
||||||
fonts.fontconfig.enable = true;
|
|
||||||
fonts.packages = with pkgs; [
|
|
||||||
(nerdfonts.override {fonts = ["FiraCode"];})
|
|
||||||
];
|
|
||||||
|
|
||||||
security.pam.services.swaylock = {};
|
security.pam.services.swaylock = {};
|
||||||
programs.hyprland.package = inputs.hyprland.packages.${pkgs.system}.default;
|
programs.hyprland.package = inputs.hyprland.packages.${pkgs.system}.default;
|
||||||
# Optional, hint electron apps to use wayland:
|
# Optional, hint electron apps to use wayland:
|
||||||
|
|
|
@ -7,10 +7,6 @@
|
||||||
./lock
|
./lock
|
||||||
];
|
];
|
||||||
|
|
||||||
fonts.fontconfig.enable = true;
|
|
||||||
fonts.packages = with pkgs; [
|
|
||||||
(nerdfonts.override {fonts = ["FiraCode"];})
|
|
||||||
];
|
|
||||||
|
|
||||||
# Enable the X11 windowing system.
|
# Enable the X11 windowing system.
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
cli
|
cli
|
||||||
dev
|
dev
|
||||||
nvim
|
nvim
|
||||||
|
vpn
|
||||||
|
|
||||||
# langs
|
# langs
|
||||||
python
|
python
|
||||||
|
|
|
@ -5,9 +5,9 @@
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = with inputs.self.nixosModules; [
|
imports = with inputs.self.nixosModules; [
|
||||||
|
fonts
|
||||||
gui
|
gui
|
||||||
vscode
|
vscode
|
||||||
vpn
|
|
||||||
hyprland
|
hyprland
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue