Git sign by default, hostname from common.nix in flake.nix

This commit is contained in:
2025-02-02 19:05:07 +01:00
parent 830b76bcb6
commit b50fce54a7
2 changed files with 6 additions and 2 deletions

View File

@ -37,7 +37,6 @@
}:
let
system = "x86_64-linux";
hostname = "nixos";
inherit (self) outputs;
common = import ./common.nix;
in
@ -47,7 +46,7 @@
# Adds the nix fmt command to format nix files
formatter.${system} = nixpkgs.legacyPackages.${system}.nixfmt-rfc-style;
nixosConfigurations.${hostname} = nixpkgs.lib.nixosSystem {
nixosConfigurations.${common.hostname} = nixpkgs.lib.nixosSystem {
system = system;
specialArgs = { inherit outputs inputs; }; # Pass args to modules
modules = [