Add kmscon

This commit is contained in:
2026-03-26 19:29:57 +01:00
parent 0c59ee08ef
commit 401490f581
3 changed files with 32 additions and 16 deletions

View File

@@ -16,6 +16,7 @@
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
systemd-boot = { systemd-boot = {
enable = true; enable = true;
memtest86.enable = true;
}; };
}; };
@@ -52,7 +53,10 @@
}; };
}; };
console.keyMap = "cz-lat2"; console = {
keyMap = "cz-lat2";
font = "LatArCyrHeb-16";
};
xdg.portal.enable = true; xdg.portal.enable = true;
@@ -117,9 +121,9 @@
LIBVIRT_DEFAULT_URI = "qemu:///system"; LIBVIRT_DEFAULT_URI = "qemu:///system";
}; };
systemPackages = [ systemPackages = with pkgs; [
pkgs.libheif libheif
pkgs.libheif.out libheif.out
]; ];
pathsToLink = ["share/thumbnailers"]; pathsToLink = ["share/thumbnailers"];

View File

@@ -79,6 +79,18 @@
interval = "weekly"; interval = "weekly";
}; };
kmscon = {
enable = true;
fonts = [
{
name = "FiraCode Nerd Font Mono";
package = pkgs.nerd-fonts.fira-code;
}
];
useXkbConfig = true;
hwRender = true;
};
fwupd.enable = true; fwupd.enable = true;
udev.packages = with pkgs; [ udev.packages = with pkgs; [

24
flake.lock generated
View File

@@ -95,11 +95,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1774379316, "lastModified": 1774539458,
"narHash": "sha256-0nGNxWDUH2Hzlj/R3Zf4FEK6fsFNB/dvewuboSRZqiI=", "narHash": "sha256-H9GIOqdMfQZ6lFetsQhO9TCq53hYzpTHDWOt3PRh9V0=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "1eb0549a1ab3fe3f5acf86668249be15fa0e64f7", "rev": "e2e5f512b33ed19a7a3271d0b73ed5eefcc0be5f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -147,11 +147,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1774106199, "lastModified": 1774386573,
"narHash": "sha256-US5Tda2sKmjrg2lNHQL3jRQ6p96cgfWh3J1QBliQ8Ws=", "narHash": "sha256-4hAV26quOxdC6iyG7kYaZcM3VOskcPUrdCQd/nx8obc=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "6c9a78c09ff4d6c21d0319114873508a6ec01655", "rev": "46db2e09e1d3f113a13c0d7b81e2f221c63b8ce9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -163,11 +163,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1774106199, "lastModified": 1774386573,
"narHash": "sha256-US5Tda2sKmjrg2lNHQL3jRQ6p96cgfWh3J1QBliQ8Ws=", "narHash": "sha256-4hAV26quOxdC6iyG7kYaZcM3VOskcPUrdCQd/nx8obc=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "6c9a78c09ff4d6c21d0319114873508a6ec01655", "rev": "46db2e09e1d3f113a13c0d7b81e2f221c63b8ce9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -179,11 +179,11 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1774365147, "lastModified": 1774509978,
"narHash": "sha256-lx4DfSa+vNYr5ozqvON5vASwlv8mOmNV2P1QlTygRvk=", "narHash": "sha256-hdl5+yPF2KXSpuFy6dTHe62c5hKiEAhd1fq8UagtTdQ=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "702d36a13d079306419820b34257c9e3c09c581f", "rev": "b317a7eaabaea07be8c71aded8b266fddce0a181",
"type": "github" "type": "github"
}, },
"original": { "original": {