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; +}