gpg configured

This commit is contained in:
Semere Meharena Mebrahtom 2026-07-18 17:05:18 +02:00
parent dd508cb134
commit 86fe70288b
Signed by: semere
GPG key ID: 7FC937214DF30488
4 changed files with 52 additions and 43 deletions

View file

@ -2,7 +2,9 @@
description = "NixOS system flake";
inputs = {
nixpkgs.url = "nixpkgs/nixos-26.05";
nixpkgs = {
url = "github:NixOS/nixpkgs/nixos-26.05";
};
home-manager = {
url = "github:nix-community/home-manager/release-26.05";
@ -12,22 +14,15 @@
outputs = { self, nixpkgs, home-manager, ... }:
let
system = "x86_64-linux";
hosts = [ "sys" ];
# hosts = builtins.attrNames (builtins.readDir ./hosts);
lib = nixpkgs.lib;
in
{
nixosConfigurations =
builtins.listToAttrs (
map (host: {
name = host;
value = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
./hosts/${host}/configuration.nix
./hosts/${host}/hardware-configuration.nix
nixosConfigurations = {
sys = lib.nixosSystem {
system = "x86_64-linux";
modules = [
./hosts/sys/configuration.nix
./hosts/sys/hardware-configuration.nix
home-manager.nixosModules.home-manager
{
@ -41,8 +36,7 @@
};
}
];
};
}) hosts
);
};
};
};
}