This commit is contained in:
2025-11-14 09:07:37 +01:00
parent 03aebab782
commit e6609fd6f4
80 changed files with 770 additions and 77 deletions

View File

@@ -1,9 +1,5 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{
pkgs,
lib,
...
}:
{
@@ -36,11 +32,12 @@
networking = {
hostName = "nix-desktop";
networkmanager.enable = true;
#useDHCP = lib.mkForce true;
#dhcpcd.enable = true;
interfaces = {
eno1.ipv4.addresses = [
networkmanager.enable = false;
useNetworkd = true;
useDHCP = false;
interfaces.eno1 = {
ipv4.addresses = [
{
address = "192.168.2.40";
prefixLength = 24;
@@ -58,14 +55,21 @@
"1.1.1.1"
"8.8.8.8"
];
wireless = {
enable = true;
userControlled.enable = false;
networks = {
"LANFRED".psk = "CooleJungsWG";
};
};
};
systemd.services.systemd-networkd-wait-online.enable = lib.mkForce false;
hardware.graphics.enable = true;
system.stateVersion = "25.11"; # Did you read the comment?
environment.systemPackages = [
pkgs.onlyoffice-bin
];
}