about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-12 09:36:15 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-12 09:36:15 -0800
commit06e49375641ee6303aeb90ccbdd352ba840eb088 (patch)
treeca3d357ede3b4228393484c18d2e27b44182f598
parenthome-manager: fix imports for pass (diff)
downloadworld-06e49375641ee6303aeb90ccbdd352ba840eb088.tar.gz
home-manager: start to organize user configuration
-rw-r--r--users/common/desktop/browser.nix7
-rw-r--r--users/common/desktop/default.nix7
-rw-r--r--users/fcuny/default.nix2
3 files changed, 15 insertions, 1 deletions
diff --git a/users/common/desktop/browser.nix b/users/common/desktop/browser.nix
new file mode 100644
index 0000000..9fc2a9e
--- /dev/null
+++ b/users/common/desktop/browser.nix
@@ -0,0 +1,7 @@
+{ pkgs, .. }:
+
+{
+  programs.firefox = {
+    enable = true;
+  };
+}
diff --git a/users/common/desktop/default.nix b/users/common/desktop/default.nix
new file mode 100644
index 0000000..0f6b27f
--- /dev/null
+++ b/users/common/desktop/default.nix
@@ -0,0 +1,7 @@
+{ }:
+
+{
+  imports [
+    ./browser.nix
+  ]
+}
diff --git a/users/fcuny/default.nix b/users/fcuny/default.nix
index 243b326..29fe759 100644
--- a/users/fcuny/default.nix
+++ b/users/fcuny/default.nix
@@ -1,7 +1,6 @@
 { config, lib, pkgs, ... }:
 
 {
-
   programs.home-manager.enable = true;
 
   home.packages = [
@@ -17,6 +16,7 @@
   };
 
   imports = [
+    ../common/desktop/
     ./git.nix
     ./go.nix
     ./tmux.nix