Commit 1239e1692dab

Vincent Demeester <vincent@sbr.pm>
2020-10-16 15:06:17
systems/hokkaido.nix: fmt
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent efe661c
Changed files (4)
pkgs
systems
users
vincent
containers
pkgs/oc/default.nix
@@ -39,7 +39,7 @@ rec {
     };
 
   oc_4_5 = makeOverridable ocGen {
-    version = "4.5.2";
+    version = "4.5.14";
     sha256 = "1lryxvh4ds8fzk6bivigknbqxwlv93xjq111mlgi3q0qz0sh7f2y";
   };
   oc_4_4 = makeOverridable ocGen {
systems/naruhodo.nix
@@ -21,9 +21,10 @@ in
   ];
 
   fileSystems."/" =
-    { device = "/dev/mapper/root";
+    {
+      device = "/dev/mapper/root";
       fsType = "ext4";
-      options = ["noatime" "discard"];
+      options = [ "noatime" "discard" ];
     };
 
   boot.initrd.luks.devices = {
@@ -35,13 +36,13 @@ in
   };
 
   fileSystems."/boot" =
-    { device = "/dev/disk/by-uuid/0101-68DE";
+    {
+      device = "/dev/disk/by-uuid/0101-68DE";
       fsType = "vfat";
     };
 
   swapDevices =
-    [ { device = "/dev/disk/by-uuid/aff86817-55ae-47ed-876a-e5a027b560ba"; }
-    ];
+    [{ device = "/dev/disk/by-uuid/aff86817-55ae-47ed-876a-e5a027b560ba"; }];
 
   networking = {
     hostName = hostname;
@@ -67,8 +68,6 @@ in
   environment.systemPackages = with pkgs; [ virtmanager ];
 
   services = {
-    # FIXME re-generate naruhodo key
-    /*
     wireguard = {
       enable = true;
       ips = ips;
@@ -76,7 +75,6 @@ in
       endpointPort = endpointPort;
       endpointPublicKey = endpointPublicKey;
     };
-    */
   };
 
   virtualisation.podman.enable = true;
users/vincent/containers/openshift.nix
@@ -4,7 +4,7 @@
   home.file.".local/share/applications/chos4.desktop".source = ./chos4.desktop;
   home.packages = with pkgs; [
     #my.crc
-    my.oc
+    #my.oc
     #my.openshift-install
     #my.operator-sdk
   ];
Makefile
@@ -23,7 +23,7 @@ update:
 .PHONY: secrets
 secrets:
 	mkdir -p secrets
-	cp -Rv $(SYNCDIR)/* secrets/
+	-cp -Rv $(SYNCDIR)/* secrets/
 
 .PHONY: assets
 assets:
@@ -40,7 +40,7 @@ home-switch: secrets
 	home-manager -f home.nix switch
 
 .PHONY: build
-build: secrets setup
+build: secrets
 	./hack/system build
 
 .PHONY: nixos-dry-build
@@ -48,7 +48,7 @@ dry-build: secrets setup
 	./hack/system dry-build
 
 .PHONY: switch
-switch: secrets setup
+switch: secrets
 	./hack/system switch
 
 .PHONY: install-hooks