summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--flake/default.nix8
-rw-r--r--hm/silas/default.nix43
-rw-r--r--hm/sils/default.nix (renamed from hm/default.nix)32
3 files changed, 67 insertions, 16 deletions
diff --git a/flake/default.nix b/flake/default.nix
index 443999e..8b8d634 100644
--- a/flake/default.nix
+++ b/flake/default.nix
@@ -50,5 +50,13 @@
   };
   flake = {
     nixosConfigurations = import ./nixosConfigurations inputs;
+    homeConfigurations."silas" = inputs.home-manager.lib.homeManagerConfiguration {
+      pkgs = import inputs.nixpkgs {
+        system = "x86_64-linux";
+        overlays = [inputs.nixvim.overlays.default];
+      };
+      modules = [../hm/silas];
+      extraSpecialArgs = inputs;
+    };
   };
 }
diff --git a/hm/silas/default.nix b/hm/silas/default.nix
new file mode 100644
index 0000000..cf6671b
--- /dev/null
+++ b/hm/silas/default.nix
@@ -0,0 +1,43 @@
+{nixvim, ...}: {
+  imports = [
+    ../../modules/hm
+    ../gpg
+    ../gtk
+    ../hyfetch
+    ../mako
+    ../nixvim
+    ../packages
+    ../rofi
+    ../ssh
+    ../swayidle
+    ../swaylock
+    ../swayosd
+    ../xsession
+    ../waybar
+    ../xdg
+    ../zsh
+    nixvim.homeManagerModules.nixvim
+  ];
+
+  home = {
+    username = "silas";
+    homeDirectory = "/home/silas";
+    stateVersion = "23.05";
+  };
+
+  sils = {
+    bat.enable = true;
+    direnv.enable = true;
+    etesync-dav.enable = true;
+    firefox.enable = true;
+    foot.enable = true;
+    git.enable = true;
+    hyprland.enable = true;
+    jameica.enable = true;
+    kdeconnect.enable = true;
+    mail.enable = true;
+    sway.enable = true;
+    zathura.enable = true;
+  };
+  programs.home-manager.enable = true;
+}
diff --git a/hm/default.nix b/hm/sils/default.nix
index 7d6e482..8f0bb6b 100644
--- a/hm/default.nix
+++ b/hm/sils/default.nix
@@ -1,21 +1,21 @@
 {nixvim, ...}: {
   imports = [
-    ../modules/hm
-    ./gpg
-    ./gtk
-    ./hyfetch
-    ./mako
-    ./nixvim
-    ./packages
-    ./rofi
-    ./ssh
-    ./swayidle
-    ./swaylock
-    ./swayosd
-    ./xsession
-    ./waybar
-    ./xdg
-    ./zsh
+    ../../modules/hm
+    ../gpg
+    ../gtk
+    ../hyfetch
+    ../mako
+    ../nixvim
+    ../packages
+    ../rofi
+    ../ssh
+    ../swayidle
+    ../swaylock
+    ../swayosd
+    ../xsession
+    ../waybar
+    ../xdg
+    ../zsh
     nixvim.homeManagerModules.nixvim
   ];