Name refactor + move
This commit is contained in:
1 parent
3de38b8c94
commit
ebb321f671
20 files changed
+27
-27
No files matched your search
+1
-1
@@ -27,7 +27,7 @@
|
||||
skyg.home-manager.version = homeManagerVersion;
|
||||
skyg.core.substituters = localNixCaches;
|
||||
skyg.networkDrives.enabled = enableNetworkDrives;
|
||||
skyg.common.containers = (if os.enable then os.containers else { });
|
||||
skyg.nixos.common.containers = (if os.enable then os.containers else { });
|
||||
system.stateVersion = systemStateVersion;
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nix = {
|
||||
|
||||
@@ -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
|
||||
];
|
||||
}
|
||||
File renamed without changes.
@@ -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 {
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.skyg.desktop.hyprland;
|
||||
cfg = config.skyg.nixos.desktop.hyprland;
|
||||
in
|
||||
{
|
||||
options = {
|
||||
skyg.desktop.hyprland = {
|
||||
skyg.nixos.desktop.hyprland = {
|
||||
enabled = mkEnableOption
|
||||
"Hyprland";
|
||||
};
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.skyg.desktop.kde;
|
||||
cfg = config.skyg.nixos.desktop.kde;
|
||||
in
|
||||
{
|
||||
options = {
|
||||
skyg.desktop.kde = {
|
||||
skyg.nixos.desktop.kde = {
|
||||
enabled = mkEnableOption
|
||||
"KDE";
|
||||
};
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
|
||||
with lib;
|
||||
|
||||
let cfg = config.skyg.homelab.services.audiobookshelf;
|
||||
let cfg = config.skyg.nixos.server.services.audiobookshelf;
|
||||
in {
|
||||
options = {
|
||||
skyg.homelab.services.audiobookshelf = {
|
||||
skyg.nixos.server.services.audiobookshelf = {
|
||||
enable = mkEnableOption
|
||||
"Audiobookshelf, self-hosted audiobook and podcast server.";
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{ config, lib, ... }:
|
||||
with lib;
|
||||
let cfg = config.skyg.homelab.udevrules.coraltpu;
|
||||
let cfg = config.skyg.nixos.server.udevrules.coraltpu;
|
||||
in {
|
||||
options = {
|
||||
skyg.homelab.udevrules.coraltpu = {
|
||||
skyg.nixos.server.udevrules.coraltpu = {
|
||||
enable = mkEnableOption
|
||||
"Enable Coral TPU Udev rules";
|
||||
symlinkName = mkOption {
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
imports = [
|
||||
./user.nix
|
||||
./macos.nix
|
||||
./fonts.nix
|
||||
./nix-substituters.nix
|
||||
];
|
||||
}
|
||||
Reference in new issue
Block a user