Git sign by default, hostname from common.nix in flake.nix
This commit is contained in:
parent
830b76bcb6
commit
b50fce54a7
@ -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 = [
|
||||
|
@ -10,6 +10,11 @@
|
||||
s = "status";
|
||||
};
|
||||
|
||||
signing = {
|
||||
signByDefault = true;
|
||||
key = "706F53DD087A91DE";
|
||||
};
|
||||
|
||||
extraConfig = {
|
||||
push.autoSetupRemote = true;
|
||||
safe.directory = "/etc/nixos";
|
||||
|
Loading…
x
Reference in New Issue
Block a user