Skip to content

Commit 99e2038

Browse files
committed
refactor: move nix files into dirs if they exist
1 parent 48bbcb7 commit 99e2038

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ in
4545
};
4646

4747
environment.etc = {
48-
skel.source = ./graphical/skel;
49-
ocf-assets.source = ./graphical/assets;
48+
skel.source = ./skel;
49+
ocf-assets.source = ./assets;
5050
};
5151

5252
programs.steam.enable = true;
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ in
2626

2727
config = lib.mkIf config.services.ocfKubernetes.enable {
2828
environment.etc = {
29-
"kubernetes/manifests/kubevip.yaml" = lib.mkIf config.services.ocfKubernetes.isLeader { source = ./kubernetes/kubevip.yaml; };
30-
"kubernetes/kubeadm.yaml".source = ./kubernetes/kubeadm.yaml;
29+
"kubernetes/manifests/kubevip.yaml" = lib.mkIf config.services.ocfKubernetes.isLeader { source = ./kubevip.yaml; };
30+
"kubernetes/kubeadm.yaml".source = ./kubeadm.yaml;
3131
};
3232

3333
# From an OCF alumni, some of these might be unnecessary.
@@ -131,7 +131,7 @@ in
131131
# <https://github.com/rook/rook/issues/11474#issuecomment-1365523469>
132132
boot.kernelPatches = [{
133133
name = "ceph-hack";
134-
patch = ./kubernetes/ceph-hack.patch;
134+
patch = ./ceph-hack.patch;
135135
}];
136136

137137
virtualisation.cri-o.enable = true;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ let
44
cfg = config.ocf.network;
55
in
66
{
7-
imports = [ ./network/bond.nix ];
7+
imports = [ ./bond.nix ];
88

99
options.ocf.network = {
1010
enable = lib.mkEnableOption "Enable OCF network configuration";
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ in
1111
config = lib.mkIf cfg.enable {
1212
environment = {
1313
enableAllTerminfo = true;
14-
etc."p10k.zsh".source = ./shell/p10k.zsh;
14+
etc."p10k.zsh".source = ./p10k.zsh;
1515

1616
systemPackages = with pkgs; [
1717
bash

0 commit comments

Comments
 (0)