Commit 100d9c6e6056

Vincent Demeester <vincent@sbr.pm>
2020-06-05 18:33:19
machines: remove unused configurations
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent b7b78b5
machines/home.nixos.nix
@@ -1,30 +0,0 @@
-{ config, pkgs, ... }:
-
-with import ../assets/machines.nix; {
-  boot.kernelParams = [ "nfs.nfs4_disable_idmapping=0" "nfsd.nfs4_disable_idmapping=0" ];
-  networking.domain = "home";
-  time.timeZone = "Europe/Paris";
-  # To mimic autofs on fedora
-  fileSystems."/net/synodine.home/" = {
-    device = "${home.ips.synodine}:/";
-    fsType = "nfs";
-    options = [ "x-systemd.automount" "noauto" ];
-  };
-  # FIXME(vdemeester): I think it acts like this because there is only one export
-  fileSystems."/net/sakhalin.home/export/" = {
-    device = "${home.ips.sakhalin}:/";
-    fsType = "nfs";
-    options = [ "x-systemd.automount" "noauto" ];
-  };
-  # Deprecated
-  fileSystems."/mnt/synodine" = {
-    device = "${home.ips.synodine}:/";
-    fsType = "nfs";
-    options = [ "x-systemd.automount" "noauto" ];
-  };
-  fileSystems."/mnt/sakhalin" = {
-    device = "${home.ips.sakhalin}:/";
-    fsType = "nfs";
-    options = [ "x-systemd.automount" "noauto" ];
-  };
-}
machines/is-hm.nix
@@ -1,3 +0,0 @@
-{
-  machine.home-manager = true;
-}
machines/is-nixos.nix
@@ -1,3 +0,0 @@
-{
-  machine.nixos = true;
-}
machines/nixos-base.nix
@@ -1,8 +0,0 @@
-{ pkgs, ... }:
-
-{
-  imports = [ ./base.nix ];
-  home.packages = with pkgs; [
-    envsubst
-  ];
-}
configuration.nix
@@ -1,20 +0,0 @@
-# This configuration file simply determines the hostname and then import both
-# the default configuration (common for all machine) and specific machine
-# configuration.
-let
-  hostName = "${builtins.readFile ./hostname}";
-in
-{
-  imports = [
-    # Generated hardware configuration
-    ./hardware-configuration.nix
-    # Default profile with default configuration
-    ./modules/module-list.nixos.nix
-    # Set the machine to nixos
-    ./machines/is-nixos.nix
-    # Machine specific configuration files
-    (./machines + "/${hostName}.nixos.nix")
-  ];
-
-  networking.hostName = "${hostName}";
-}
home.nix
@@ -20,8 +20,6 @@ in
   imports = [
     # Default profile with default configuration
     ./modules/module-list.nix
-    # Set the machine to home
-    ./machines/is-hm.nix
     # Machine specific configuration files
     (./machines + "/${hostName}.nix")
   ];