Name refactor + move
This commit is contained in:
1 parent
3de38b8c94
commit
ebb321f671
20 files changed
+27
-27
No files matched your search
@@ -8,7 +8,7 @@ with lib;
|
||||
./podman.nix
|
||||
];
|
||||
options = {
|
||||
skyg.common.containers = {
|
||||
skyg.nixos.common.containers = {
|
||||
runtime = mkOption {
|
||||
description = "Docker vs podman";
|
||||
type = types.str;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
cfg = config.skyg.common.containers;
|
||||
cfg = config.skyg.nixos.common.containers;
|
||||
in
|
||||
{
|
||||
config = lib.mkIf (cfg.runtime == "docker") {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
let
|
||||
cfg = config.skyg.common.containers;
|
||||
cfg = config.skyg.nixos.common.containers;
|
||||
in
|
||||
{
|
||||
config = lib.mkIf (cfg.runtime == "podman") {
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
./core.nix
|
||||
./networking.nix
|
||||
./user.nix
|
||||
./fonts.nix
|
||||
./ssh-server.nix
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
fonts = {
|
||||
packages = with pkgs; [
|
||||
fira-code
|
||||
fira-code-symbols
|
||||
font-awesome
|
||||
mplus-outline-fonts.githubRelease
|
||||
noto-fonts-emoji
|
||||
];
|
||||
enableDefaultPackages = true;
|
||||
fontDir.enable = true;
|
||||
fontconfig = {
|
||||
enable = true;
|
||||
defaultFonts = {
|
||||
serif = [ "Fira Code" "DroidSansMono" ];
|
||||
sansSerif = [ "Fira Code" "DroidSansMono" ];
|
||||
monospace = [ "Fira Code" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -5,7 +5,7 @@
|
||||
, ...
|
||||
}:
|
||||
let
|
||||
cfg = config.skyg.hardware.fan2go;
|
||||
cfg = config.skyg.nixos.common.hardware.fan2go;
|
||||
|
||||
fan2goConfig = pkgs.writeText "fan2go.yaml" ''
|
||||
dbPath: ${cfg.dbPath}
|
||||
@@ -65,7 +65,7 @@ let
|
||||
'';
|
||||
in
|
||||
{
|
||||
options.skyg.hardware.fan2go = with lib; {
|
||||
options.skyg.nixos.common.hardware.fan2go = with lib; {
|
||||
enable = mkEnableOption "fan2go";
|
||||
|
||||
dbPath = mkOption {
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
, ...
|
||||
}:
|
||||
let
|
||||
cfg = config.skyg.hardware.fancontrol;
|
||||
cfg = config.skyg.nixos.common.hardware.fancontrol;
|
||||
in
|
||||
{
|
||||
options.skyg.hardware.fancontrol = with lib; {
|
||||
options.skyg.nixos.common.hardware.fancontrol = with lib; {
|
||||
enable = mkEnableOption "fancontrol";
|
||||
configName = mkOption {
|
||||
type = types.str;
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.skyg.ssh-server;
|
||||
cfg = config.skyg.nixos.common.ssh-server;
|
||||
in
|
||||
{
|
||||
options = {
|
||||
skyg.ssh-server = {
|
||||
skyg.nixos.common.ssh-server = {
|
||||
enabled = mkEnableOption
|
||||
"enable ssh server";
|
||||
masterPubKey = mkOption {
|
||||
|
||||
Reference in new issue
Block a user