cloudflare
This commit is contained in:
parent
2df8e8e804
commit
869f9b5db1
4 changed files with 4 additions and 2 deletions
|
|
@ -21,7 +21,6 @@
|
||||||
...
|
...
|
||||||
} @ inputs: let
|
} @ inputs: let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
lib = nixpkgs.lib;
|
|
||||||
mkConf = import ./lib/mkconf.nix;
|
mkConf = import ./lib/mkconf.nix;
|
||||||
|
|
||||||
user = "tristan";
|
user = "tristan";
|
||||||
|
|
|
||||||
|
|
@ -65,6 +65,8 @@
|
||||||
networking.useDHCP = lib.mkDefault true;
|
networking.useDHCP = lib.mkDefault true;
|
||||||
# networking.interfaces.enp5s0.useDHCP = lib.mkDefault true;
|
# networking.interfaces.enp5s0.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
|
networking.networkmanager.insertNameservers = [ "1.1.1.1" "1.0.0.1" ];
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@
|
||||||
work ? false,
|
work ? false,
|
||||||
displays ? [],
|
displays ? [],
|
||||||
userName,
|
userName,
|
||||||
|
inputs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
config,
|
config,
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ name: {
|
||||||
userName,
|
userName,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
nixpkgs.lib.nixosSystem rec {
|
nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = {inherit inputs;};
|
specialArgs = {inherit inputs;};
|
||||||
|
|
||||||
inherit system;
|
inherit system;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue