aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorspl3g <spleefer6@yandex.ru>2025-05-01 15:16:02 +0300
committerspl3g <spleefer6@yandex.ru>2025-05-02 19:58:18 +0300
commitdce1f40f9b80bc221d1b960efced2369384a278f (patch)
treefbd84178cde34757dbcd74c1afe7668541227549 /flake.nix
parent8e4059ac9d5a485f0e6eda771768aad541c43b49 (diff)
feat: add the actual server configuration
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix16
1 files changed, 11 insertions, 5 deletions
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
];
};