From d9dc88150441da627c0a6a9e0f94b3ffab78d6aa Mon Sep 17 00:00:00 2001 From: elwrcl Date: Sun, 12 Apr 2026 21:33:32 +0300 Subject: [PATCH] update --- flake.nix | 97 +------------------------------------------------------ 1 file changed, 1 insertion(+), 96 deletions(-) diff --git a/flake.nix b/flake.nix index 5b8a9c8..10e873f 100644 --- a/flake.nix +++ b/flake.nix @@ -1,67 +1,24 @@ - { description = "copland nixos configurations"; inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; - chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable"; - nix-cachyos-kernel.url = "github:xddxdd/nix-cachyos-kernel/release"; - zen-browser.url = "github:0xc000022070/zen-browser-flake"; - copetch.url = "github:elwrcl/copetch"; - home-manager = { url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; }; - helium = { url = "github:AlvaroParker/helium-nix"; inputs.nixpkgs.follows = "nixpkgs"; }; - apple-fonts = { url = "github:Lyndeno/apple-fonts.nix"; inputs.nixpkgs.follows = "nixpkgs"; }; - - noctalia = { - url = "github:noctalia-dev/noctalia-shell"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - }; - { - description = "copland nixos configurations"; - - inputs = { - nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; - - chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable"; - - nix-cachyos-kernel.url = "github:xddxdd/nix-cachyos-kernel/release"; - - zen-browser.url = "github:0xc000022070/zen-browser-flake"; - - copetch.url = "github:elwrcl/copetch"; - - home-manager = { - url = "github:nix-community/home-manager"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - - helium = { - url = "github:AlvaroParker/helium-nix"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - - apple-fonts = { - url = "github:Lyndeno/apple-fonts.nix"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - noctalia = { url = "github:noctalia-dev/noctalia-shell"; inputs.nixpkgs.follows = "nixpkgs"; @@ -101,12 +58,10 @@ modules = [ chaotic.nixosModules.default home-manager.nixosModules.home-manager - { - nixpkgs.overlays = [ chaoticOverlay cachyosKernelOverlay ]; + nixpkgs.overlays = [ chaoticOverlay cachyosKernelOverlay gtkPortalOverlay ]; nixpkgs.config.allowUnfree = true; } - { home-manager = { useGlobalPkgs = true; @@ -115,7 +70,6 @@ users.elars = import ./home; }; } - ./machine.nix ./nixos/default.nix ]; @@ -123,52 +77,3 @@ }; }; } - - - outputs = inputs@{ self, nixpkgs, chaotic, home-manager, nix-cachyos-kernel, ... }: -let -system = "x86_64-linux"; - -chaoticOverlay = chaotic.overlays.default; -cachyosKernelOverlay = nix-cachyos-kernel.overlays.pinned; - -copetchOverlay = final: prev: { -copetch = inputs.copetch.packages.${system}.default; -}; - -in -{ -nixosConfigurations = { -copland = nixpkgs.lib.nixosSystem { -system = system; -specialArgs = { -inherit inputs system; -zen-browser = inputs.zen-browser; -nix-cachyos-kernel = nix-cachyos-kernel; -}; - -modules = [ -chaotic.nixosModules.default -home-manager.nixosModules.home-manager - -{ -nixpkgs.overlays = [ chaoticOverlay cachyosKernelOverlay ]; -nixpkgs.config.allowUnfree = true; -} - -{ -home-manager = { -useGlobalPkgs = true; -useUserPackages = true; -extraSpecialArgs = { inherit inputs system; }; -users.elars = import ./home; -}; -} - -./machine.nix -./nixos/default.nix -]; -}; -}; -}; -}