sldsalkjsadlkj
This commit is contained in:
parent
1b798e514b
commit
8a7b7f01d8
@ -45,6 +45,7 @@
|
||||
* transmission remote gui
|
||||
* domeneshop
|
||||
* [ ] hydra
|
||||
* perfect for CUDA
|
||||
* [ ] self-hosted binary cache (single-machine) (nix-serve, carinae, harmonia, eris or attic, ssh?)
|
||||
* https://discourse.nixos.org/t/announcing-harmonia-a-nix-binary-cache-written-in-rust/19855
|
||||
* https://discourse.nixos.org/t/introducing-attic-a-self-hostable-nix-binary-cache-server/24343/1
|
||||
@ -56,3 +57,5 @@
|
||||
* [ ] Setup aliases instead of a per-vhost cert?
|
||||
* [ ] Preferably setup a wildchar cert per host
|
||||
* [ ] once secrets are in place: coin a one true ssh key, automate adding ssh host public keys to flake
|
||||
* [ ] https://github.com/dali99/nix-dotfiles/blob/85dcafb4e0b8382a3d04b9a5f63afd01a4144143/machines/pvv-terminal.nix#L3
|
||||
* [ ] wrap windowmanager in nixGL on non-nixos https://github.com/dali99/nix-dotfiles/blob/85dcafb4e0b8382a3d04b9a5f63afd01a4144143/profiles/xsession/default.nix#LL138C1-L138C1
|
||||
|
@ -72,6 +72,7 @@
|
||||
inherit inputs;
|
||||
packages = self.packages.${system};
|
||||
};
|
||||
# still needed even if using networkd
|
||||
networking.hostName = hostname;
|
||||
networking.domain = domain;
|
||||
networking.search = [ domain ];
|
||||
|
@ -50,8 +50,10 @@
|
||||
#virtualisation.oci-containers.backend = "podman"; # default
|
||||
|
||||
# Networking
|
||||
/**/
|
||||
networking.networkmanager.enable = true;
|
||||
#networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
networking.interfaces.enp3s0.wakeOnLan.enable = true;
|
||||
networking.interfaces.enp3s0.ipv4.addresses = [
|
||||
{ address = "192.168.1.7"; prefixLength = 24; }
|
||||
];
|
||||
@ -63,8 +65,29 @@
|
||||
"1.1.1.1"
|
||||
];
|
||||
#networking.useDHCP = true;
|
||||
/** /
|
||||
systemd.network.enable = true;
|
||||
systemd.network.networks."50-static" = {
|
||||
matchConfig.Name = "enp3s0";
|
||||
address = [ "192.168.1.7/24" ];
|
||||
gateway = [ "192.168.1.254" ];
|
||||
dns = [ "192.168.1.254" "8.8.8.8" "1.1.1.1" ];
|
||||
domains = [ config.networking.domain ]; # set by flake
|
||||
networkConfig.IPv6AcceptRA = false;
|
||||
linkConfig.RequiredForOnline = "routable"; # dependency for network-online.target
|
||||
};
|
||||
/** /
|
||||
systemd.network.networks."51-dhcp" = {
|
||||
matchConfig.Name = "enp3s0";
|
||||
networkConfig.DHCP = "yes";
|
||||
networkConfig.IPv6AcceptRA = true;
|
||||
linkConfig.RequiredForOnline = "no"; # not always connected and not required to be online
|
||||
};
|
||||
/**/
|
||||
#TODO: avahi? resolved? https://git.pvv.ntnu.no/Drift/pvv-nixos-config/src/main/base.nix#L15-L18
|
||||
|
||||
|
||||
|
||||
# Installed system packages
|
||||
environment.systemPackages = with pkgs; [
|
||||
cage
|
||||
|
@ -110,5 +110,13 @@
|
||||
night-light-temperature = mkUint32 4150;
|
||||
};
|
||||
|
||||
#"org/gnome/desktop/session" = {
|
||||
# idle-delay = mkUint32 (5 * 60);
|
||||
#};
|
||||
#"org/gnome/settings-daemon/plugins/power" {
|
||||
# #sleep-inactive-ac-type = "suspend";
|
||||
# sleep-inactive-ac-type = "nothing";
|
||||
#};
|
||||
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user