From 280936542e068d161cf237a55e7bcf406cebd04c Mon Sep 17 00:00:00 2001 From: Ranomier <> Date: Sun, 14 Sep 2025 22:48:19 +0200 Subject: [PATCH] feat: mv flake.nix inputs.nix and add sym link Since my flake basically only contains inputs i though it to be fitting Also i have already an outputs.nix --- flake.nix | 41 +---------------------------------------- inputs.nix | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 40 deletions(-) mode change 100644 => 120000 flake.nix create mode 100644 inputs.nix diff --git a/flake.nix b/flake.nix deleted file mode 100644 index 5367730..0000000 --- a/flake.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ - inputs = { - # Main nix package repository - nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05"; - - # NixOS unstable - nixos-unstable.url = "github:NixOS/nixpkgs/nixos-unstable"; - - # ready made hardware configurations. e.G.: Power saving - nixos-hardware.url = "github:NixOS/nixos-hardware/master"; - - # generating filesystems in different formats - nixos-generators = { - url = "github:nix-community/nixos-generators"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - - # additional user specific nix modules - home-manager = { - url = "github:nix-community/home-manager/release-25.05"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - - # theming - stylix = { - url = "github:danth/stylix/release-25.05"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - - nix-secrets = { - url = "path:/home/ranomier/Projects/nix-secrets"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - - # for managing flatpaks, like which ones are installed and which not - nix-flatpak.url = "github:gmodena/nix-flatpak"; - }; - - outputs = inArgs: import ./outputs.nix inArgs; -} diff --git a/flake.nix b/flake.nix new file mode 120000 index 0000000..1ddd1e2 --- /dev/null +++ b/flake.nix @@ -0,0 +1 @@ +inputs.nix \ No newline at end of file diff --git a/inputs.nix b/inputs.nix new file mode 100644 index 0000000..5367730 --- /dev/null +++ b/inputs.nix @@ -0,0 +1,40 @@ +{ + inputs = { + # Main nix package repository + nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05"; + + # NixOS unstable + nixos-unstable.url = "github:NixOS/nixpkgs/nixos-unstable"; + + # ready made hardware configurations. e.G.: Power saving + nixos-hardware.url = "github:NixOS/nixos-hardware/master"; + + # generating filesystems in different formats + nixos-generators = { + url = "github:nix-community/nixos-generators"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + + # additional user specific nix modules + home-manager = { + url = "github:nix-community/home-manager/release-25.05"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + + # theming + stylix = { + url = "github:danth/stylix/release-25.05"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + + nix-secrets = { + url = "path:/home/ranomier/Projects/nix-secrets"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + + # for managing flatpaks, like which ones are installed and which not + nix-flatpak.url = "github:gmodena/nix-flatpak"; + }; + + outputs = inArgs: import ./outputs.nix inArgs; +}