.: remove things i never ended up using
parent
3ffd0f5979
commit
97b2b06455
|
@ -3,15 +3,8 @@
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:arachnist/nixpkgs/ar-patchset-unstable";
|
nixpkgs.url = "github:arachnist/nixpkgs/ar-patchset-unstable";
|
||||||
home-manager.url = "github:nix-community/home-manager";
|
|
||||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
nix-colors.url = "github:misterio77/nix-colors";
|
|
||||||
nix-formatter-pack.url = "github:Gerschtli/nix-formatter-pack";
|
nix-formatter-pack.url = "github:Gerschtli/nix-formatter-pack";
|
||||||
nix-index-database.url = "github:Mic92/nix-index-database";
|
|
||||||
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
deploy-rs.url = "github:serokell/deploy-rs";
|
deploy-rs.url = "github:serokell/deploy-rs";
|
||||||
microvm.url = "github:astro/microvm.nix";
|
|
||||||
microvm.inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
impermanence.url = "github:nix-community/impermanence";
|
impermanence.url = "github:nix-community/impermanence";
|
||||||
colmena = {
|
colmena = {
|
||||||
url = "github:zhaofengli/colmena/main";
|
url = "github:zhaofengli/colmena/main";
|
||||||
|
@ -33,7 +26,6 @@
|
||||||
url = "github:Jovian-Experiments/Jovian-NixOS";
|
url = "github:Jovian-Experiments/Jovian-NixOS";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
|
||||||
lix = {
|
lix = {
|
||||||
url =
|
url =
|
||||||
"git+https://git@git.lix.systems/lix-project/lix?ref=refs/tags/2.90.0-rc1";
|
"git+https://git@git.lix.systems/lix-project/lix?ref=refs/tags/2.90.0-rc1";
|
||||||
|
|
|
@ -3,11 +3,8 @@
|
||||||
let meta = import ../meta.nix;
|
let meta = import ../meta.nix;
|
||||||
in {
|
in {
|
||||||
imports = with inputs; [
|
imports = with inputs; [
|
||||||
nix-index-database.nixosModules.nix-index
|
|
||||||
agenix.nixosModules.default
|
agenix.nixosModules.default
|
||||||
|
|
||||||
microvm.nixosModules.host
|
|
||||||
|
|
||||||
self.nixosModules.boot
|
self.nixosModules.boot
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -188,10 +185,6 @@ in {
|
||||||
[ { Address = "10.0.0.1/24"; } { Address = "fd12:3456:789a::1/64"; } ];
|
[ { Address = "10.0.0.1/24"; } { Address = "fd12:3456:789a::1/64"; } ];
|
||||||
ipv6Prefixes = [{ Prefix = "fd12:3456:789a::/64"; }];
|
ipv6Prefixes = [{ Prefix = "fd12:3456:789a::/64"; }];
|
||||||
};
|
};
|
||||||
networks.microvm-eth0 = {
|
|
||||||
matchConfig.Name = "vm-*";
|
|
||||||
networkConfig.Bridge = "virbr0";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services.chrony.enable = true;
|
services.chrony.enable = true;
|
||||||
|
|
|
@ -17,18 +17,10 @@ let
|
||||||
${util-linux}/bin/rfkill unblock 0
|
${util-linux}/bin/rfkill unblock 0
|
||||||
'';
|
'';
|
||||||
in {
|
in {
|
||||||
imports = [ inputs.self.nixosModules.common inputs.home-manager.nixosModule ];
|
imports = [ inputs.self.nixosModules.common ];
|
||||||
|
|
||||||
nix.registry = nixRegistry;
|
nix.registry = nixRegistry;
|
||||||
|
|
||||||
home-manager.users.ar = {
|
|
||||||
home.username = "ar";
|
|
||||||
home.homeDirectory = "/home/ar";
|
|
||||||
home.stateVersion = config.system.stateVersion;
|
|
||||||
};
|
|
||||||
home-manager.useGlobalPkgs = true;
|
|
||||||
home-manager.useUserPackages = true;
|
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
|
extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
|
||||||
extraModprobeConfig = ''
|
extraModprobeConfig = ''
|
||||||
|
@ -51,8 +43,6 @@ in {
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager.users.ar.services.easyeffects.enable = true;
|
|
||||||
|
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
networking.networkmanager.wifi.backend = "wpa_supplicant";
|
networking.networkmanager.wifi.backend = "wpa_supplicant";
|
||||||
systemd.network.wait-online.enable = false;
|
systemd.network.wait-online.enable = false;
|
||||||
|
|
|
@ -144,8 +144,6 @@ in {
|
||||||
|
|
||||||
environment.etc."wifi-secrets".text = ci-secrets.wifi;
|
environment.etc."wifi-secrets".text = ci-secrets.wifi;
|
||||||
|
|
||||||
microvm.host.enable = false;
|
|
||||||
|
|
||||||
systemd.network.enable = lib.mkForce false;
|
systemd.network.enable = lib.mkForce false;
|
||||||
networking = {
|
networking = {
|
||||||
useDHCP = true;
|
useDHCP = true;
|
||||||
|
|
|
@ -112,8 +112,6 @@ in {
|
||||||
|
|
||||||
environment.etc."wifi-secrets".text = ci-secrets.wifi;
|
environment.etc."wifi-secrets".text = ci-secrets.wifi;
|
||||||
|
|
||||||
microvm.host.enable = false;
|
|
||||||
|
|
||||||
systemd.network.enable = lib.mkForce false;
|
systemd.network.enable = lib.mkForce false;
|
||||||
networking = {
|
networking = {
|
||||||
useDHCP = true;
|
useDHCP = true;
|
||||||
|
|
|
@ -111,8 +111,6 @@ in {
|
||||||
|
|
||||||
environment.etc."wifi-secrets".text = ci-secrets.wifi;
|
environment.etc."wifi-secrets".text = ci-secrets.wifi;
|
||||||
|
|
||||||
microvm.host.enable = false;
|
|
||||||
|
|
||||||
systemd.network.enable = lib.mkForce false;
|
systemd.network.enable = lib.mkForce false;
|
||||||
networking = {
|
networking = {
|
||||||
useDHCP = true;
|
useDHCP = true;
|
||||||
|
|
Loading…
Reference in New Issue