bugfix
This commit is contained in:
parent
ba1f4a32c4
commit
a58f8530b7
8 changed files with 219 additions and 9 deletions
28
systems/NOcomputer.nix
Normal file
28
systems/NOcomputer.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ pkgs, ... }: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
openrgb
|
||||
gwe
|
||||
];
|
||||
|
||||
fileSystems."/" = { options = [ "noatime" "compress-force=zstd:3" ]; };
|
||||
fileSystems."/var" = { options = [ "noatime" "compress-force=zstd:3" ]; };
|
||||
fileSystems."/tmp" = { options = [ "noatime" ]; };
|
||||
fileSystems."/home" = { options = [ "noatime" "compress-force=zstd:3" ]; };
|
||||
fileSystems."/home/tao/Games" = { options = [ "nosuid" "nodev" "noatime" "compress-force=zstd:3" "users" "rw" "exec" ]; };
|
||||
|
||||
services.udev.packages = [ pkgs.openrgb ];
|
||||
services.udev.extraRules = ''
|
||||
SUBSYSTEM=="tty", GROUP="dialout", ATTRS{interface}=="Black Magic GDB Server", SYMLINK+="ttyBmpGdb"
|
||||
SUBSYSTEM=="tty", GROUP="dialout", ATTRS{interface}=="Black Magic UART Port", SYMLINK+="ttyBmpTarg"
|
||||
'';
|
||||
|
||||
boot.kernelModules = [ "i2c-dev" ];
|
||||
|
||||
fonts.fonts = with pkgs; [
|
||||
(nerdfonts.override { fonts = [ "FiraCode" ]; })
|
||||
noto-fonts-cjk
|
||||
noto-fonts-emoji
|
||||
];
|
||||
|
||||
networking.hostname = "NOcomputer";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue