reorganise code: os modules in flake.nix
Some checks failed
/ build-all (push) Failing after 57s

This commit is contained in:
ant 2026-03-10 21:36:23 +01:00
parent 38751363d4
commit 632061ac61
5 changed files with 45 additions and 53 deletions

View file

@ -1,28 +1,10 @@
{ config, pkgs, ... }:
let
sshKeys = with (import ../../sshKeys.nix); [
basado
moon
allegro
hs
];
sshKeys = import ../../sshKeys.nix;
domain = "antoinev.freeboxos.fr";
utils = import ../utils.nix;
in {
imports = [
./hardware-configuration.nix
./syncthing.nix
./disks.nix
./backup.nix
../common.nix
../forgejo.nix
(import ../remote-disk-unlock.nix ["r8169"] sshKeys)
../builder.nix
../ccache.nix
(import ../swapfile.nix 64)
];
boot = {
loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = true;
@ -49,7 +31,7 @@ in {
"wheel"
"jellyfin"
];
openssh.authorizedKeys.keys = sshKeys;
openssh.authorizedKeys.keys = (with sshKeys; [ basado moon allegro hs ]);
};
security.sudo.wheelNeedsPassword = false;