added sane modules
This commit is contained in:
parent
534cb74e64
commit
d7546e9591
5 changed files with 57 additions and 3 deletions
|
@ -1,6 +1,4 @@
|
||||||
{ inputs, outputs, profile-config, pkgs, ... }:
|
_: {
|
||||||
|
|
||||||
{
|
|
||||||
boot.loader = {
|
boot.loader = {
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = true;
|
||||||
grub = {
|
grub = {
|
||||||
|
|
10
options/boot/grub-boot.nix
Normal file
10
options/boot/grub-boot.nix
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
_:{
|
||||||
|
boot.loader = {
|
||||||
|
efi.canTouchEfiVariables = true;
|
||||||
|
grub = {
|
||||||
|
enable = true;
|
||||||
|
efiSupport = true;
|
||||||
|
device = "nodev";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
18
options/common/gpu/nvidia.nix
Normal file
18
options/common/gpu/nvidia.nix
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
{ pkgs, ...}:
|
||||||
|
{
|
||||||
|
services.xserver.videoDrivers = [ "nvidia" ]
|
||||||
|
hardware.opengl = {
|
||||||
|
enable = true;
|
||||||
|
driSupport = true;
|
||||||
|
driSupport32Bit = true;
|
||||||
|
};
|
||||||
|
hardware.nvidia = {
|
||||||
|
modesetting.enable = true;
|
||||||
|
open = false;
|
||||||
|
powerManagement.enable = false;
|
||||||
|
powerManagement.finegrained = false;
|
||||||
|
nvidiaSettings = false;
|
||||||
|
package = config.boot.kernel.kernelPackages.nvidiaPackages.beta;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
15
options/common/networking.nix
Normal file
15
options/common/networking.nix
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{ config, lib, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
networking = {
|
||||||
|
networkmanager = {
|
||||||
|
enable = true;
|
||||||
|
dns = "systemd-resolved";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
services.resolved = {
|
||||||
|
enable = true;
|
||||||
|
fallbackDns = ["9.9.9.9"];
|
||||||
|
};
|
||||||
|
user.users.config.myOptions.other.system.username.extraGroups = [ "networkmanager" ];
|
||||||
|
}
|
13
options/desktop/fonts.nix
Normal file
13
options/desktop/fonts.nix
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
fonts.packages = with pkgs; [
|
||||||
|
material-design-icons
|
||||||
|
(nerdfonts.override {
|
||||||
|
fonts = [ "JetBrainsMono"];
|
||||||
|
})
|
||||||
|
noto-fonts
|
||||||
|
noto-fonts-cjk-sans
|
||||||
|
noto-fonts-cjk-serif
|
||||||
|
noto-fonts-emoji
|
||||||
|
];
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue