base-graphical: include settings for fonts, libinput, printing

This commit is contained in:
Katherina Walshe-Grey 2024-09-11 15:06:41 +01:00
parent 9e638c009f
commit c5261caa21
5 changed files with 6 additions and 23 deletions

View file

@ -14,5 +14,11 @@ in
config = mkIf cfg.enable {
services.xserver.enable = true;
services.libinput.enable = true;
services.printing.enable = true;
fonts.packages = with pkgs; [
corefonts
];
};
}

View file

@ -24,8 +24,6 @@
console.keyMap = "uk";
services.xserver.xkb.layout = "gb";
services.printing.enable = true;
age.secrets.user-password-kilgharrah-qenya.file = ../../secrets/user-password-kilgharrah-qenya.age;
users.users.qenya.hashedPasswordFile = config.age.secrets.user-password-kilgharrah-qenya.path;
users.users.qenya.extraGroups = [ "wheel" ];

View file

@ -25,8 +25,6 @@
console.keyMap = "uk";
services.xserver.xkb.layout = "gb";
services.printing.enable = true;
age.secrets.user-password-tohru-qenya.file = ../../secrets/user-password-tohru-qenya.age;
users.users.qenya.hashedPasswordFile = config.age.secrets.user-password-tohru-qenya.path;
users.users.qenya.extraGroups = [
@ -38,7 +36,6 @@
programs.evolution.enable = true; # not in home-manager yet; not declaratively configurable yet
programs.steam.enable = true;
qenya.services.fonts.enable = true;
system.stateVersion = "23.11";
}

View file

@ -1,6 +1,5 @@
{
imports = [
./fonts.nix
./forgejo.nix
];
}

View file

@ -1,17 +0,0 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.qenya.services.fonts;
in
{
options.qenya.services.fonts = {
enable = mkEnableOption "Fonts";
};
config = mkIf cfg.enable {
fonts.packages = with pkgs; [
corefonts
];
};
}