Commit 27095048ae5f

Vincent Demeester <vincent@sbr.pm>
2020-04-30 02:07:20
machines: fix imports and clean some machines
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent cb0469b
machines/base.fedora.nix → machines/fedora-base.nix
File renamed without changes
machines/hokkaido.nix
@@ -1,15 +0,0 @@
-{ pkgs, ... }:
-
-{
-  imports = [
-    ./base.nixos.nix
-  ];
-  profiles.zsh = {
-    enable = true;
-  };
-  profiles.emacs = {
-    enable = true;
-    texlive = false;
-  };
-  xdg.configFile."ape.conf".source = ../assets/ape.conf;
-}
machines/honshu.nix
@@ -1,7 +0,0 @@
-{
-  imports = [
-    ./base.nixos.nix
-  ];
-  profiles.git.enable = true;
-  xdg.configFile."ape.conf".source = ../assets/ape.conf;
-}
machines/kerkouane.nix
@@ -1,3 +1,3 @@
 {
-  imports = [ ./base.nixos.nix ];
+  imports = [ ./nixos-base.nix ];
 }
machines/kobe.nix
@@ -1,5 +0,0 @@
-{
-  imports = [
-    ./base.nix
-  ];
-}
machines/massimo.nix
@@ -1,5 +0,0 @@
-{
-  imports = [
-    ./base.nix
-  ];
-}
machines/naruhodo.nix
@@ -2,7 +2,7 @@
 
 with import ../assets/machines.nix;{
   imports = [
-    ./base.fedora.nix
+    ./fedora-base.nix
   ];
   home.packages = with pkgs; [
     kubectx
machines/base.nixos.nix → machines/nixos-base.nix
File renamed without changes
machines/okinawa.nix
@@ -2,7 +2,7 @@
 
 with import ../assets/machines.nix; {
   imports = [
-    ./base.nix
+    ./nixos-base.nix
   ];
   home.packages = with pkgs; [
     ripgrep
machines/okinawa.nixos.nix
@@ -1,7 +1,7 @@
 { config, pkgs, ... }:
 
 with import ../assets/machines.nix; {
-  imports = [ ./home.nix ];
+  imports = [ ./home.nixos.nix ];
   boot = {
     cleanTmpDir = true;
   };
machines/phantom.nix
@@ -1,18 +0,0 @@
-{
-  imports = [
-    ./base.nix
-  ];
-  profiles = {
-    dev = {
-      go.enable = true;
-      js.enable = true;
-    };
-    emacs = {
-      enable = true;
-      daemonService = false;
-    };
-  };
-  programs = {
-    vscode.enable = true;
-  };
-}
machines/sakhalin.nix
@@ -2,7 +2,7 @@
 
 with import ../assets/machines.nix; {
   imports = [
-    ./base.nix
+    ./nixos-base.nix
   ];
   home.packages = with pkgs; [
     ripgrep
machines/sakhalin.nixos.nix
@@ -1,7 +1,7 @@
 { config, pkgs, ... }:
 
 with import ../assets/machines.nix; {
-  imports = [ ./home.nix ];
+  imports = [ ./home.nixos.nix ];
   boot = {
     cleanTmpDir = true;
   };
machines/shikoku.nix
@@ -1,25 +0,0 @@
-{ pkgs, ... }:
-
-{
-  imports = [
-    ./base.nix
-  ];
-  profiles.cloud.google.enable = true;
-  profiles.containers = {
-    enable = true;
-    podman = true;
-    kubernetes = { enable = true; minikube.enable = true; };
-    openshift = { enable = true; minishift.enable = true; };
-  };
-  profiles.desktop.enable = true;
-  profiles.dev = {
-    go.enable = true;
-    haskell.enable = true;
-    python.enable = true;
-    rust.enable = true;
-    vscode.enable = true;
-  };
-  profiles.gaming.enable = true;
-  profiles.media.enable = true;
-  services.shairport-sync.enable = true;
-}
machines/wakasu.nix
@@ -2,7 +2,7 @@
 
 {
   imports = [
-    ./base.nix
+    ./nixos-base.nix
   ];
   profiles.zsh = {
     enable = true;
machines/wakasu.nixos.nix
@@ -1,7 +1,7 @@
 { config, pkgs, ... }:
 
 with import ../assets/machines.nix; {
-  imports = [ ../hardware/lenovo-p50.nix ./home.nix ];
+  imports = [ ../hardware/lenovo-p50.nix ./home.nixos.nix ];
   boot = {
     kernelModules = [ "kvm_intel" ];
     kernelParams = [ "kvm_intel.nested=1" ];