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
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
hostname = "nixos";
|
|
||||||
inherit (self) outputs;
|
inherit (self) outputs;
|
||||||
common = import ./common.nix;
|
common = import ./common.nix;
|
||||||
in
|
in
|
||||||
@ -47,7 +46,7 @@
|
|||||||
# Adds the nix fmt command to format nix files
|
# Adds the nix fmt command to format nix files
|
||||||
formatter.${system} = nixpkgs.legacyPackages.${system}.nixfmt-rfc-style;
|
formatter.${system} = nixpkgs.legacyPackages.${system}.nixfmt-rfc-style;
|
||||||
|
|
||||||
nixosConfigurations.${hostname} = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.${common.hostname} = nixpkgs.lib.nixosSystem {
|
||||||
system = system;
|
system = system;
|
||||||
specialArgs = { inherit outputs inputs; }; # Pass args to modules
|
specialArgs = { inherit outputs inputs; }; # Pass args to modules
|
||||||
modules = [
|
modules = [
|
||||||
|
@ -10,6 +10,11 @@
|
|||||||
s = "status";
|
s = "status";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
signing = {
|
||||||
|
signByDefault = true;
|
||||||
|
key = "706F53DD087A91DE";
|
||||||
|
};
|
||||||
|
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
push.autoSetupRemote = true;
|
push.autoSetupRemote = true;
|
||||||
safe.directory = "/etc/nixos";
|
safe.directory = "/etc/nixos";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user