commit 89e0470f81fcdbbba9c647fc69d4ead97dd156e7
parent a87dee2dd7395ac583864392eba448fae2bda3ea
Author: Vincent Demeester <vincent@sbr.pm>
Date: Fri, 17 May 2019 00:17:22 +0200
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>
Diffstat:
2 files changed, 30 insertions(+), 22 deletions(-)
diff --git a/machines/base.fedora.nix b/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
+ ];
+}
diff --git a/machines/hokkaido.nix b/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
- ];
}