fonts, steam: convert to nixos modules
This commit is contained in:
parent
049e3ff091
commit
e3068a144a
|
@ -5,7 +5,6 @@
|
|||
[
|
||||
./hardware-configuration.nix
|
||||
./home.nix
|
||||
../../services/evolution.nix
|
||||
../../services/fonts.nix
|
||||
../../services/steam.nix
|
||||
./syncthing.nix
|
||||
|
@ -16,6 +15,10 @@
|
|||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.loader.systemd-boot.editor = false;
|
||||
|
||||
programs.evolution.enable = true;
|
||||
qenya.services.fonts.enable = true;
|
||||
qenya.services.steam.enable = true;
|
||||
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
i18n.defaultLocale = "en_GB.UTF-8";
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
{
|
||||
imports = [
|
||||
./fonts.nix
|
||||
./forgejo.nix
|
||||
./steam.nix
|
||||
];
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.evolution.enable = true;
|
||||
}
|
|
@ -1,7 +1,17 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.qenya.services.fonts;
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
in
|
||||
{
|
||||
options.qenya.services.fonts = {
|
||||
enable = mkEnableOption "Fonts";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
fonts.packages = with pkgs; [
|
||||
corefonts
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,6 +1,15 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.qenya.services.steam;
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
in
|
||||
{
|
||||
options.qenya.services.steam = {
|
||||
enable = mkEnableOption "Steam";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
|
@ -8,4 +17,5 @@
|
|||
};
|
||||
|
||||
services.joycond.enable = true;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue