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