Cleanup of some configuration: jellyfin, nvim, systems
This commit is contained in:
parent
b21c3b559b
commit
67243bad11
4 changed files with 8 additions and 10 deletions
|
|
@ -42,7 +42,7 @@
|
|||
(pkgs.writeTextFile {
|
||||
name = "dev-device-no-auto-name";
|
||||
text = ''
|
||||
SUBSYSTEM=="net", ACTION=="add", DEVTYPE!=="?*", ATTR{address}=="04:7c:16:10:27:5e", NAME="eth0"
|
||||
SUBSYSTEM=="net", ACTION=="add", ENV{DEVTYPE}!="?*", ATTR{address}=="04:7c:16:10:27:5e", NAME="eth0"
|
||||
'';
|
||||
|
||||
destination = "/etc/udev/rules.d/70-persistent-net.rules";
|
||||
|
|
@ -50,12 +50,12 @@
|
|||
];
|
||||
|
||||
# Select internationalisation properties.
|
||||
i18n.defaultLocale = "en_US.utf8";
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
||||
# Configure keymap in X11
|
||||
services.xserver = {
|
||||
layout = "us";
|
||||
xkbVariant = "";
|
||||
xkb.layout = "us";
|
||||
xkb.variant = "";
|
||||
};
|
||||
|
||||
# Allow unfree packages
|
||||
|
|
@ -94,5 +94,4 @@
|
|||
# Before changing this value read the documentation for this option
|
||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||
system.stateVersion = "22.05"; # Did you read the comment?
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@
|
|||
name = "dev-device-no-auto-name";
|
||||
# xps11 uses a usb device as an ethernet port
|
||||
text = ''
|
||||
SUBSYSTEM=="net", ACTION=="add", DEVTYPE!=="?*", ATTR{address}=="00:e0:4c:68:13:bf", NAME="eth0"
|
||||
SUBSYSTEM=="net", ACTION=="add", ENV{DEVTYPE}!="?*", ATTR{address}=="00:e0:4c:68:13:bf", NAME="eth0"
|
||||
'';
|
||||
|
||||
destination = "/etc/udev/rules.d/70-persistent-net.rules";
|
||||
|
|
@ -116,4 +116,6 @@
|
|||
# servers. You should change this only after NixOS release notes say you
|
||||
# should.
|
||||
system.stateVersion = "20.03"; # Did you read the comment?
|
||||
# postgres 11 has EOL'd
|
||||
services.postgresql.package = pkgs.postgresql_15;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue