From 181afe262cd01cf206b9016887642c9fe0dfd02d Mon Sep 17 00:00:00 2001 From: osbm Date: Wed, 5 Feb 2025 02:44:26 +0300 Subject: [PATCH] no need to mention this in the flake --- flake.nix | 13 +------------ hosts/tartarus/configuration.nix | 6 ++++++ 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/flake.nix b/flake.nix index dc2507b..64f9a49 100644 --- a/flake.nix +++ b/flake.nix @@ -59,18 +59,7 @@ nixosConfigurations = { tartarus = nixpkgs.lib.nixosSystem { specialArgs = {inherit inputs outputs;}; - modules = [ - ./hosts/tartarus/configuration.nix - vscode-server.nixosModules.default - agenix.nixosModules.default - home-manager.nixosModules.home-manager - { - environment.systemPackages = [ - agenix.packages.x86_64-linux.default - osbm-nvim.packages.x86_64-linux.default - ]; - } - ]; + modules = [ ./hosts/tartarus/configuration.nix]; }; ymir = nixpkgs.lib.nixosSystem { specialArgs = {inherit inputs outputs;}; diff --git a/hosts/tartarus/configuration.nix b/hosts/tartarus/configuration.nix index ec600a1..0b0e42e 100644 --- a/hosts/tartarus/configuration.nix +++ b/hosts/tartarus/configuration.nix @@ -1,11 +1,15 @@ { config, pkgs, + inputs, ... }: { imports = [ ./hardware-configuration.nix ../../modules + inputs.vscode-server.nixosModules.default + inputs.agenix.nixosModules.default + inputs.home-manager.nixosModules.home-manager ]; myModules = { @@ -51,6 +55,8 @@ hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot environment.systemPackages = with pkgs; [ + inputs.agenix.packages.x86_64-linux.default + inputs.osbm-nvim.packages.x86_64-linux.default ]; system.stateVersion = "24.05"; # lalalalala