add agenix cli command
This commit is contained in:
parent
edd17411c2
commit
6e4b951381
21
flake.lock
21
flake.lock
|
@ -1,5 +1,25 @@
|
||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
|
"agenix": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1646845404,
|
||||||
|
"narHash": "sha256-JENXFCI2HVqi0whBzt7MAW9PX3ziEaYqBhMux+4g+VM=",
|
||||||
|
"owner": "ryantm",
|
||||||
|
"repo": "agenix",
|
||||||
|
"rev": "764c975e74bce2f89a5106b68ec48e2b586f893c",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "ryantm",
|
||||||
|
"repo": "agenix",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"home-manager": {
|
"home-manager": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
@ -70,6 +90,7 @@
|
||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
"agenix": "agenix",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"nixos-hardware": "nixos-hardware",
|
"nixos-hardware": "nixos-hardware",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
inputs@{ self
|
inputs@{ self
|
||||||
|
, agenix
|
||||||
, nixpkgs
|
, nixpkgs
|
||||||
, nixpkgs-unstable
|
, nixpkgs-unstable
|
||||||
, nixos-hardware
|
, nixos-hardware
|
||||||
|
@ -77,7 +78,7 @@
|
||||||
configurationNix
|
configurationNix
|
||||||
|
|
||||||
# Common configuration
|
# Common configuration
|
||||||
./modules/common-x86
|
(import ./modules/common-x86 {inherit custom inputs pkgs system;})
|
||||||
|
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, ... }:
|
{ inputs, pkgs, system, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
@ -14,6 +14,7 @@
|
||||||
unzip
|
unzip
|
||||||
vim
|
vim
|
||||||
wget
|
wget
|
||||||
|
inputs.agenix.defaultPackage."${system}"
|
||||||
];
|
];
|
||||||
environment.shellAliases = {
|
environment.shellAliases = {
|
||||||
format-modules = "nixpkgs-fmt **/*.nix";
|
format-modules = "nixpkgs-fmt **/*.nix";
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ inputs, custom, pkgs, ... }:
|
{ inputs, custom, pkgs, system, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
"${inputs.self}/modules/common"
|
(import "${inputs.self}/modules/common" {inherit inputs custom pkgs system;})
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
{ inputs, custom, pkgs, ... }:
|
{ inputs, custom, pkgs, system, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
"${inputs.self}/modules/cli"
|
(import "${inputs.self}/modules/cli" { inherit inputs pkgs system; })
|
||||||
|
inputs.agenix.nixosModule
|
||||||
];
|
];
|
||||||
|
|
||||||
# The rough location
|
# The rough location
|
||||||
|
|
Loading…
Reference in New Issue