refactor imports

This commit is contained in:
♥ Minnie ♥ 2024-01-21 22:32:25 +08:00
parent 3e16c5a55d
commit 0a4f535117
3 changed files with 9 additions and 4 deletions

View file

@ -1,8 +1,13 @@
{ config, pkgs, ... }:
{ config, pkgs, inputs, ... }:
let
hostname = config.networking.hostName;
in
{
imports = [
inputs.agenix.nixosModules.default
inputs.agenix-rekey.nixosModules.default
];
environment.systemPackages = with pkgs; [
agenix-rekey
];

View file

@ -2,9 +2,6 @@
{
imports = [
inputs.home-manager.nixosModules.home-manager
inputs.agenix.nixosModules.default
inputs.agenix-rekey.nixosModules.default
./age.nix
./env.nix
./nix.nix

View file

@ -1,6 +1,9 @@
{ inputs, outputs, pkgs, config, ... }:
{
imports = [
inputs.home-manager.nixosModules.home-manager
];
users.users.sajenim = {
isNormalUser = true;
extraGroups = [ "audio" "docker" "networkmanager" "wheel" ];