Update work configuration to support podman
This commit is contained in:
parent
da2628f075
commit
3bd412ef0e
24
flake.lock
generated
24
flake.lock
generated
@ -7,11 +7,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1639871969,
|
"lastModified": 1651519540,
|
||||||
"narHash": "sha256-6feWUnMygRzA9tzkrfAzpA5/NBYg75bkFxnqb1DtD7E=",
|
"narHash": "sha256-3k6p8VsTwwRPQjE8rrMh+o2AZACZn/eeYJ7ivdQ/Iro=",
|
||||||
"owner": "rycee",
|
"owner": "rycee",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "697cc8c68ed6a606296efbbe9614c32537078756",
|
"rev": "d93d56ab8c1c6aa575854a79b9d2f69d491db7d0",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -23,11 +23,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1642190797,
|
"lastModified": 1651848520,
|
||||||
"narHash": "sha256-cxeEEAtfIACnm8sV1oz0xlNp9IVk10Fxcc09ggoEZuo=",
|
"narHash": "sha256-KkJ28fShdd78+zal5HlHsXUICOCtO7Bdvylc5zlp5Mk=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "3ddd960a3b575bf3230d0e59f42614b71f9e0db9",
|
"rev": "5656d7f92aa8264eb06ba68ad94c87ac5b5312e8",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -39,11 +39,11 @@
|
|||||||
},
|
},
|
||||||
"nur": {
|
"nur": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1642392502,
|
"lastModified": 1651887110,
|
||||||
"narHash": "sha256-ZRgwagDhwT5eQgTSqhupXz3ugQmFat0836d5Hh8ZK4Q=",
|
"narHash": "sha256-AMQ0A5Osq647zEHWb+GZEIYZeNrZm55kY24uVOqSTzg=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NUR",
|
"repo": "NUR",
|
||||||
"rev": "8993a1cfc2d6ed69725788a2ccafbe8cde0510e3",
|
"rev": "c7a43bc69e52a636e76ba3d378695c1bd4f0bbbd",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -62,11 +62,11 @@
|
|||||||
},
|
},
|
||||||
"unstable": {
|
"unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1642104392,
|
"lastModified": 1651726670,
|
||||||
"narHash": "sha256-m71b7MgMh9FDv4MnI5sg9MiBVW6DhE1zq+d/KlLWSC8=",
|
"narHash": "sha256-dSGdzB49SEvdOJvrQWfQYkAefewXraHIV08Vz6iDXWQ=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "5aaed40d22f0d9376330b6fa413223435ad6fee5",
|
"rev": "c777cdf5c564015d5f63b09cc93bef4178b19b01",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -55,6 +55,11 @@
|
|||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
self.overlaysModule
|
self.overlaysModule
|
||||||
|
{
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
(import ./overlays/iptables)
|
||||||
|
];
|
||||||
|
}
|
||||||
./modules/containers.nix
|
./modules/containers.nix
|
||||||
./modules/nix.nix
|
./modules/nix.nix
|
||||||
./modules/vscode-server.nix
|
./modules/vscode-server.nix
|
||||||
|
@ -16,11 +16,18 @@ in
|
|||||||
environment.etc.hosts.enable = false;
|
environment.etc.hosts.enable = false;
|
||||||
environment.etc."resolv.conf".enable = false;
|
environment.etc."resolv.conf".enable = false;
|
||||||
|
|
||||||
time.timeZone = "America/New_York";
|
time.timeZone = "America/New_York";
|
||||||
|
|
||||||
programs.adb.enable = true;
|
programs.adb.enable = true;
|
||||||
networking.dhcpcd.enable = false;
|
networking.dhcpcd.enable = false;
|
||||||
|
|
||||||
|
# Required because for some reason WSL kernel doesn't play well with nftables
|
||||||
|
networking.firewall.package = pkgs.iptables-legacy;
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
wget
|
||||||
|
];
|
||||||
|
|
||||||
# Proxychains
|
# Proxychains
|
||||||
programs.proxychains = {
|
programs.proxychains = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
5
overlays/iptables/default.nix
Normal file
5
overlays/iptables/default.nix
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
self: super: {
|
||||||
|
iptables = super.iptables.override {
|
||||||
|
nftablesCompat = false;
|
||||||
|
};
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user