diff --git a/homes/chmura/default.nix b/homes/chmura/default.nix new file mode 100644 index 0000000..8fad8c9 --- /dev/null +++ b/homes/chmura/default.nix @@ -0,0 +1,39 @@ +{ + config, + inputs, + lib, + pkgs, + ... +}: { + + imports = [ + ]; + + config = { + programs = { + home-manager.enable = true; + }; + + home = { + username = "chmura"; + homeDirectory = "/home/chmura"; + packages = with pkgs; [ + git + exa + ripgrep + btop + firejail + zellij + cargo + rustc + nodejs + unzip + cmake + gcc + trash-cli + ]; + + stateVersion = lib.mkDefault "23.11"; + }; + }; +} diff --git a/homes/default.nix b/homes/default.nix index e75b9f5..eff22c6 100644 --- a/homes/default.nix +++ b/homes/default.nix @@ -9,6 +9,7 @@ extraSpecialArgs = {inherit inputs self;}; # let home-manager access inputs and self users = { jacek = import ./jacek; + chmura = import ./chmura; }; }; } diff --git a/hosts/chmura/configuration.nix b/hosts/chmura/configuration.nix index e979c53..a94149c 100644 --- a/hosts/chmura/configuration.nix +++ b/hosts/chmura/configuration.nix @@ -35,6 +35,7 @@ neofetch git wireguard-tools + ntfy ]; }; diff --git a/hosts/default.nix b/hosts/default.nix index a9ed91e..53c4819 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -13,7 +13,6 @@ in { specialArgs = {inherit lib inputs self;}; modules = [ ./niksos - ./chmura ] ++ [ # this list includes an alias for the home-manager module, and another for the global home-manager configuration directory @@ -21,4 +20,11 @@ in { home-configs ]; }; + chmura = lib.nixosSystem { + system = "x86_86-linux"; + specialArgs = {inherit lib inputs self;}; + modules = [ + ./chmura + ]; + }; } diff --git a/hosts/niksos/configuration.nix b/hosts/niksos/configuration.nix index cb29d7b..396b6f6 100644 --- a/hosts/niksos/configuration.nix +++ b/hosts/niksos/configuration.nix @@ -40,13 +40,6 @@ in ]; }; - # Enable sound. - # sound.enable = true; - # hardware.pulseaudio.enable = true; - - # Enable touchpad support (enabled default in most desktopManager). - # services.xserver.libinput.enable = true; - programs.zsh.enable = true; programs.hyprland = { @@ -138,16 +131,5 @@ in }; }; - - #environment.systemPackages = with pkgs; [ - # neovim - #]; - - # This value determines the NixOS release from which the default - # settings for stateful data, like file locations and database versions - # on your system were taken. It's perfectly fine and recommended to leave - # this value at the release version of the first install of this system. - # Before changing this value read the documentation for this option - # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). - system.stateVersion = "23.11"; # Did you read the comment? + system.stateVersion = "23.11"; }