hosts/sakotop: agenix test

This commit is contained in:
Sakooooo 2024-10-02 13:36:44 +04:00
parent fa4606962c
commit 865240b948
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -1,13 +1,6 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page and in the NixOS manual (accessible by running `nixos-help`).
{
config,
pkgs,
lib,
inputs,
outputs,
...
}: {
{ config, pkgs, lib, inputs, outputs, ... }: {
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
@ -75,9 +68,7 @@
mpv.enable = true;
jellyfin.enable = true;
};
security = {
wireshark.enable = true;
};
security = { wireshark.enable = true; };
};
hardware = {
nvidia = {
@ -141,9 +132,7 @@
sops.enable = true;
certs.enable = true;
};
virtualization = {
waydroid.enable = true;
};
virtualization = { waydroid.enable = true; };
};
# Enable CUPS to print documents.
@ -157,8 +146,7 @@
age.sshKeyPaths = [ "/home/sako/.ssh/id_ed25519" ];
};
networking.wireguard.interfaces = {
};
networking.wireguard.interfaces = { };
services.logind.extraConfig = ''
# dont shutdown when power button is short-pressed
@ -168,6 +156,8 @@
# set laptop dpi
services.xserver.dpi = 100;
age.secrets.test.file = ../../secrets/test.age;
# Enable the OpenSSH daemon.
# services.openssh.enable = true;