From b113dac20b167f782586190b337b37c703496f3c Mon Sep 17 00:00:00 2001 From: Silas Schöffel Date: Tue, 29 Oct 2024 22:06:41 +0100 Subject: add standalone hm config --- flake/default.nix | 8 ++++++++ hm/default.nix | 43 ------------------------------------------- hm/silas/default.nix | 43 +++++++++++++++++++++++++++++++++++++++++++ hm/sils/default.nix | 43 +++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 94 insertions(+), 43 deletions(-) delete mode 100644 hm/default.nix create mode 100644 hm/silas/default.nix create mode 100644 hm/sils/default.nix 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/default.nix b/hm/default.nix deleted file mode 100644 index 7d6e482..0000000 --- a/hm/default.nix +++ /dev/null @@ -1,43 +0,0 @@ -{nixvim, ...}: { - imports = [ - ../modules/hm - ./gpg - ./gtk - ./hyfetch - ./mako - ./nixvim - ./packages - ./rofi - ./ssh - ./swayidle - ./swaylock - ./swayosd - ./xsession - ./waybar - ./xdg - ./zsh - nixvim.homeManagerModules.nixvim - ]; - - home = { - username = "sils"; - homeDirectory = "/home/sils"; - 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/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/sils/default.nix b/hm/sils/default.nix new file mode 100644 index 0000000..8f0bb6b --- /dev/null +++ b/hm/sils/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 = "sils"; + homeDirectory = "/home/sils"; + 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; +} -- cgit 1.4.1