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