mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-22 06:19:11 +00:00
templates/fds-private-config: init
This commit is contained in:
parent
fdfebf6389
commit
603fbeec3f
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
13
templates/fds-private-config/configs/flake-parts/default.nix
Normal file
13
templates/fds-private-config/configs/flake-parts/default.nix
Normal 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 = { };
|
||||
}
|
43
templates/fds-private-config/flake.nix
Normal file
43
templates/fds-private-config/flake.nix
Normal 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
|
||||
];
|
||||
};
|
||||
};
|
Loading…
Reference in New Issue
Block a user