"nodes": {
"flake-utils": {
"locked": {
- "lastModified": 1617631617,
- "narHash": "sha256-PARRCz55qN3gy07VJZIlFeOX420d0nGF0RzGI/9hVlw=",
+ "lastModified": 1618217525,
+ "narHash": "sha256-WGrhVczjXTiswQaoxQ+0PTfbLNeOQM6M36zvLn78AYg=",
"owner": "numtide",
"repo": "flake-utils",
- "rev": "b2c27d1a81b0dc266270fa8aeecebbd1807fc610",
+ "rev": "c6169a2772643c4a93a0b5ac1c61e296cba68544",
"type": "github"
},
"original": {
]
},
"locked": {
- "lastModified": 1617625888,
- "narHash": "sha256-GuVivqQPZUskBhu4uQAgWhGI1sVuqz7nRMV+Rc+yWBU=",
+ "lastModified": 1617824794,
+ "narHash": "sha256-UGkvzx0nIXHhNq/KwJLjXvKAQRE2V33MuX+UirvqrkQ=",
"owner": "nix-community",
"repo": "home-manager",
- "rev": "f019c1cf16d0019d332ef43cffa0bd9bf007252b",
+ "rev": "2aa20ae969f2597c4df10a094440a66e9d7f8c86",
"type": "github"
},
"original": {
]
},
"locked": {
- "narHash": "sha256-SjlbhXwiJEHYOWrUrnptbvWeC+1sGrj0NOMqWkMfn8A=",
+ "narHash": "sha256-6GpORBj41T5+WpD3/ZhrQO1XktUN+a/IDo2a410rhW0=",
"path": "./julm-nix",
"type": "path"
},
../../nixos/profiles/systems/zramSwap.nix
];
+hardware.opengl.enable = true;
+
# The 32-bit host id of the host, formatted as 8 hexadecimal characters.
# You should try to make this id unique among your hosts.
# Manually generated with : head -c4 /dev/urandom | od -A none -t x4 | cut -d ' ' -f 2
networking.hostId = "e18f71a6";
-hardware.opengl = {
- extraPackages = [
- pkgs.intel-media-driver # LIBVA_DRIVER_NAME=iHD
- pkgs.vaapiIntel # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium)
- pkgs.vaapiVdpau
- pkgs.libvdpau-va-gl
- ];
-};
-
boot.loader.grub.devices = [
#"/dev/disk/by-id/nvme-Samsung_SSD_970_EVO_Plus_250GB_S4EUNJ0N211426T"
#"/dev/disk/by-id/usb-Generic-_Multi-Card_20071114173400000-0:0"
# and let mosh work smoothly.
services.logind.killUserProcesses = false;
-hardware.opengl.enable = true;
+hardware.bluetooth.enable = true;
+#services.blueman.enable = true;
documentation.nixos = {
enable = false; # NOTE: useless on a server, and CPU intensive.
boot.kernelParams = [
# Rotate the consoles anti-clockwise.
- "fbcon=rotate:3"
+ #"fbcon=rotate:3"
];
environment.systemPackages = with pkgs; [
+ bluez
cryptsetup
direnv
f3
{
services.xserver = {
enable = true;
- layout = "fr";
- xkbOptions = "eurosign:e";
+ layout = "fr,us";
+ xkbOptions = "eurosign:e, compose:menu, grp:alt_space_toggle";
libinput.enable = true;
+ exportConfiguration = true; # link /usr/share/X11/ properly
desktopManager = {
session = [
# Let the session be generated by home-manager
};
};
};
+environment.systemPackages = [
+ pkgs.arandr
+];
+console.useXkbConfig = true;
sound.enable = true;
hardware.pulseaudio.enable = true;
-/*
programs.x2goserver = {
enable = true;
};
+/*
environment.sessionVariables = {
PATH = [ "/usr/local/bin" ];
};
console = {
font = "Lat2-Terminus16";
- keyMap = "fr";
+ keyMap = lib.mkDefault "fr";
};
# Always try to start all the units (default.target)
{ pkgs, lib, config, host, ... }:
{
hardware.cpu.intel.updateMicrocode = true;
+hardware.opengl = {
+ extraPackages = [
+ pkgs.intel-media-driver # LIBVA_DRIVER_NAME=iHD
+ pkgs.vaapiIntel # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium)
+ pkgs.vaapiVdpau
+ pkgs.libvdpau-va-gl
+ ];
+};
nix = {
# Too CPU hungry for the DL10J, for too little Mio saved
autoOptimiseStore = false;