templates/fds-private-config: init

This commit is contained in:
Gabriel Arazas 2025-04-09 21:53:27 +08:00
parent fdfebf6389
commit 603fbeec3f
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360
3 changed files with 60 additions and 0 deletions

View File

@ -30,5 +30,9 @@
path = ../../templates/local-ruby-nix;
description = "Local Ruby app development with ruby-nix";
};
fds-private-config = {
path = ../../templates/fds-private-config;
description = "Basic template for private Nix environment configuration that uses this flake";
};
};
}

View File

@ -0,0 +1,13 @@
{ lib, pkgs, ... }:
{
# Add all of the environment configurations here or split them up into
# individual modules, whichever you prefer.
setups.nixos.configs = { };
setups.home-manager.configs = { };
setups.wrapper-manager.configs = { };
setups.nixvim.configs = { };
}

View File

@ -0,0 +1,43 @@
{
description = "foodogsquared's private repo";
nixConfig = {
extra-substituters =
"https://nix-community.cachix.org https://foo-dogsquared.cachix.org";
extra-trusted-public-keys =
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= foo-dogsquared.cachix.org-1:/2fmqn/gLGvCs5EDeQmqwtus02TUmGy0ZlAEXqRE70E=";
commit-lockfile-summary = "flake.lock: update inputs";
};
inputs = {
nixpkgs.follows = "nixpkgs-unstable";
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-24.11";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
home-manager.follows = "home-manager-unstable";
home-manager-stable.url = "github:nix-community/home-manager/release-24.05";
home-manager-stable.inputs.nixpkgs.follows = "nixpkgs";
home-manager-unstable.url = "github:nix-community/home-manager";
home-manager-unstable.inputs.nixpkgs.follows = "nixpkgs";
# My custom modules.
fds-modules.url = "github:foo-dogsquared/nixos-config";
# Make a default.nix compatible stuff. Take note, we're giving this a
# unique suffix since there are other flake inputs that uses the same flake
# and we want our `default.nix` to refer to our version.
flake-compat-fds.url =
"https://flakehub.com/f/edolstra/flake-compat/1.tar.gz";
};
outputs = inputs:
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
systems = [ "x86_64-linux" "aarch64-linux" ];
imports = [
inputs.fds-modules.flakeModules.default
inputs.fds-modules.flakeModules.baseSetupsConfig
./configs/flake-parts
];
};
};