Commit 89e0470f81fc

Vincent Demeester <vincent@sbr.pm>
2019-05-17 00:17:22
Add fedora.base.nix and update hokkaido
- fedora.base.nix holds home-manager base configuration for a non-nixos distribution, and more specificaly, Fedora. - migrate hokkaido to use fedora.base.nix Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent a87dee2
Changed files (2)
machines/base.fedora.nix
@@ -0,0 +1,25 @@
+{ pkgs, ...}:
+
+{
+  imports = [ ../modules/module-list.nix ];
+  programs = {
+    home-manager = {
+      enable = true;
+    };
+    man.enable = false;
+  };
+  profiles.bash.enable = false;
+  home.extraOutputsToInstall = [ "man" ];
+  home.file.".nix-channels".source = ../assets/nix-channels;
+  home.packages = with pkgs; [
+    direnv
+    enchive
+    entr
+    envsubst
+    exa
+    fd
+    htop
+    scripts
+    tree
+  ];
+}
machines/hokkaido.nix
@@ -2,30 +2,13 @@
 
 {
   imports = [
-    ./base.nix
+    ./base.fedora.nix
   ];
-  profiles.containers.enable = true;
-  profiles.dev = {
-    go.enable = true;
-    rust.enable = true;
-    java = { enable = true; javaPackage = pkgs.jre; };
-  };
-  profiles.containers.openshift = {
-    enable = true;
-    #package = pkgs.nur.repos.vdemeester.openshift;
-  };
+  xdg.configFile."user-dirs.dirs".source = ../modules/profiles/assets/xorg/user-dirs.dirs;
   profiles.finances.enable = true;
-  profiles.laptop.enable = true;
-  profiles.media.enable = true;
-  profiles.mails = {
+  profiles.emacs = {
     enable = true;
-    frequency = "hourly";
+    texlive = false;
+    daemonService = false;
   };
-  programs.podman.enable = true;
-  home.packages = with pkgs; [
-    awscli
-    slack
-    terraform
-    nur.repos.vdemeester.openshift-installer
-  ];
 }