From d1395f9e6768551967f85128ccab19d12dec4c6f Mon Sep 17 00:00:00 2001 From: Dylan Date: Tue, 16 Sep 2025 16:43:55 +1200 Subject: feat: added server configuration and setup sops-nix --- flake.nix | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 3ec4440..58b6397 100644 --- a/flake.nix +++ b/flake.nix @@ -21,6 +21,10 @@ url = "git+file:///home/boss/Documents/Coding/WM/YATwm"; inputs.nixpkgs.follows = "nixpkgs"; }; + STK = { + url = "git+file:///home/boss/stk"; + inputs.nixpkgs.follows = "nixpkgs"; + }; # hyprland = { # url = "github:hyprwm/Hyprland"; # inputs.nixpkgs.follows = "nixpkgs"; @@ -45,6 +49,10 @@ url = "github:kaylorben/nixcord"; inputs.nixpkgs.follows = "nixpkgs"; }; + sops = { + url = "github:Mic92/sops-nix"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = inputs@{ nixpkgs, ... }: { @@ -55,7 +63,7 @@ modules = [ (import ./my-pkgs) - ./configuration.nix + ./computers/nixy.nix inputs.home-manager.nixosModules.home-manager { @@ -69,6 +77,13 @@ inputs.stylix.nixosModules.stylix ]; }; + nixos = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + specialArgs = {inherit inputs;}; + modules = [ + ./computers/server.nix + ]; + }; }; }; } -- cgit v1.2.3