removed flake.nix and flake.lock

This commit is contained in:
zdzr0bmq 2024-01-07 19:49:27 +00:00
parent 7877d60138
commit dd314cbf02
4 changed files with 1 additions and 60 deletions

View File

@ -4,12 +4,10 @@
./tor.nix
];
nix.package = pkgs.nixUnstable;
nix.extraOptions = ''
experimental-features = nix-command flakes
'';
nixosConfigurations."apple".config.system.build.nixos-rebuild;
boot.loader.grub.configurationLimit = 5;
boot.tmp.cleanOnBoot = true;

View File

@ -1,27 +0,0 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1592784995,
"narHash": "sha256-mj7GnZrzqwiaPf1WQ9HqOJ7eT+NHB1tDNN0mFTlgXzg=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "13c15f26d44cf7f54197891a6f0c78ce8149b037",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-20.03",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

View File

@ -1,30 +0,0 @@
{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-20.03";
outputs = { self, nixpkgs }: {
nixosConfigurations.container = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules =
[ ({ pkgs, ... }: {
boot.isContainer = true;
# Let 'nixos-version --json' know about the Git revision
# of this flake.
system.configurationRevision = nixpkgs.lib.mkIf (self ? rev) self.rev;
# Network configuration.
networking.useDHCP = false;
networking.firewall.allowedTCPPorts = [ 80 ];
# Enable a web server.
services.httpd = {
enable = true;
adminAddr = "morty@example.org";
};
})
];
};
};
}

View File

@ -19,7 +19,7 @@ services.tor = {
Nickname = "apple";
ContactInfo = "lyraiue7(at)duck.com";
AccountingStart = "day 0:00";
AccountingMax = "600 GBytes";
AccountingMax = "64 GBytes";
RelayBandwidthRate = "15 MBytes";
RelayBandwidthBurst = "20 MBytes"; # allow higher bursts but maintain average
MaxAdvertisedBandwidth = "15 MBytes";