From dce1f40f9b80bc221d1b960efced2369384a278f Mon Sep 17 00:00:00 2001 From: spl3g Date: Thu, 1 May 2025 15:16:02 +0300 Subject: feat: add the actual server configuration --- flake.nix | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 8eff9d0..67fc683 100644 --- a/flake.nix +++ b/flake.nix @@ -38,10 +38,15 @@ # Hardware configs for my laptop nixos-hardware.url = "github:NixOS/nixos-hardware/master"; + disko = { + url = "github:nix-community/disko"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + zen-browser = { - url = "github:0xc000022070/zen-browser-flake"; - inputs.nixpkgs.follows = "nixpkgs"; - }; + url = "github:0xc000022070/zen-browser-flake"; + inputs.nixpkgs.follows = "nixpkgs"; + }; niri.url = "github:sodiboo/niri-flake"; @@ -58,11 +63,11 @@ outputs = { self , nixpkgs - # , lix-module , home-manager , nurpkgs , nixos-hardware , hyprland + , disko , ... }@inputs: let inherit (self) outputs; @@ -110,8 +115,9 @@ ]; }; ltrr-cloud = nixpkgs.lib.nixosSystem { - specialArgs = { inherit inputs outputs; }; + system = "x86_64-linux"; modules = [ + disko.nixosModules.disko ./nixos/server/configuration.nix ]; }; -- cgit v1.2.3