mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
switched nvim-flake to unstable
switched nix off of master added nixpkgs and system to registry moved X to tty1 and fixed kmscon to not run on tty1
This commit is contained in:
parent
81319aa076
commit
32a4a75654
8 changed files with 62 additions and 20 deletions
37
common.nix
37
common.nix
|
|
@ -1,4 +1,39 @@
|
|||
_: {lib, ...}: {
|
||||
_: {
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
#use a better tty
|
||||
services.kmscon = {
|
||||
enable = true;
|
||||
hwRender = true;
|
||||
extraConfig = ''
|
||||
font-size=10
|
||||
'';
|
||||
fonts = [
|
||||
{
|
||||
name = "Overpass Mono";
|
||||
package = pkgs.overpass;
|
||||
}
|
||||
{
|
||||
name = "OverpassMono Nerd Font";
|
||||
package =
|
||||
pkgs.nerdfonts.override
|
||||
{
|
||||
fonts = ["Overpass"];
|
||||
};
|
||||
}
|
||||
{
|
||||
name = "Material Design Icons";
|
||||
package = pkgs.material-design-icons;
|
||||
}
|
||||
];
|
||||
};
|
||||
systemd.services = {
|
||||
"autovt@tty1".enable = false;
|
||||
"kmsconvt@tty1".enable = false;
|
||||
};
|
||||
|
||||
#hardware stuff
|
||||
hardware = {
|
||||
enableRedistributableFirmware = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue