restructure flake to make it more appearant what's going on
This commit is contained in:
parent
ceda644fab
commit
3677857763
25
flake.nix
25
flake.nix
|
@ -2,16 +2,12 @@
|
||||||
description = "rndusr's nixos flake";
|
description = "rndusr's nixos flake";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
|
# regular nixos stuff
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
|
||||||
phone-nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "github:nix-community/home-manager/release-23.11";
|
url = "github:nix-community/home-manager/release-23.11";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
home-manager-phone = {
|
|
||||||
url = "github:nix-community/home-manager/release-23.05";
|
|
||||||
inputs.nixpkgs.follows = "phone-nixpkgs";
|
|
||||||
};
|
|
||||||
firefox-addons = {
|
firefox-addons = {
|
||||||
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
|
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
@ -19,6 +15,13 @@
|
||||||
simple-nixos-mailserver = {
|
simple-nixos-mailserver = {
|
||||||
url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-23.11";
|
url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-23.11";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# nix-on-droid inputs
|
||||||
|
phone-nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
|
||||||
|
home-manager-phone = {
|
||||||
|
url = "github:nix-community/home-manager/release-23.05";
|
||||||
|
inputs.nixpkgs.follows = "phone-nixpkgs";
|
||||||
|
};
|
||||||
nix-on-droid = {
|
nix-on-droid = {
|
||||||
url = "github:t184256/nix-on-droid/release-23.05";
|
url = "github:t184256/nix-on-droid/release-23.05";
|
||||||
inputs.nixpkgs.follows = "phone-nixpkgs";
|
inputs.nixpkgs.follows = "phone-nixpkgs";
|
||||||
|
@ -26,7 +29,17 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, phone-nixpkgs, home-manager, home-manager-phone, firefox-addons, simple-nixos-mailserver, nix-on-droid, ... }@inputs: {
|
outputs = {
|
||||||
|
self,
|
||||||
|
nixpkgs,
|
||||||
|
home-manager,
|
||||||
|
firefox-addons,
|
||||||
|
simple-nixos-mailserver,
|
||||||
|
|
||||||
|
phone-nixpkgs,
|
||||||
|
home-manager-phone,
|
||||||
|
nix-on-droid,
|
||||||
|
... }@inputs: {
|
||||||
nixOnDroidConfigurations = {
|
nixOnDroidConfigurations = {
|
||||||
phone = nix-on-droid.lib.nixOnDroidConfiguration {
|
phone = nix-on-droid.lib.nixOnDroidConfiguration {
|
||||||
modules = [
|
modules = [
|
||||||
|
|
Loading…
Reference in New Issue