wowa, many changes
This commit is contained in:
parent
0930568e6c
commit
151b8619cf
5 changed files with 26 additions and 32 deletions
|
|
@ -7,7 +7,6 @@
|
|||
pkgs,
|
||||
inputs,
|
||||
nix-colors,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
|
|
@ -167,7 +166,6 @@
|
|||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = [ pkgs.xdg-desktop-portal-gnome ];
|
||||
configPackages = [ pkgs.niri ];
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -43,10 +43,9 @@
|
|||
|
||||
networking = {
|
||||
hostName = "muOS"; # Define your hostname.
|
||||
networkmanager.enable = true;
|
||||
};
|
||||
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "Europe/Amsterdam";
|
||||
|
||||
|
|
@ -55,9 +54,7 @@
|
|||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users = {
|
||||
root = {
|
||||
hashedPassword = "!";
|
||||
};
|
||||
root.hashedPassword = "!";
|
||||
noa = {
|
||||
isNormalUser = true;
|
||||
description = "Noa Aarts";
|
||||
|
|
@ -134,7 +131,7 @@
|
|||
enable = true;
|
||||
package = inputs.niri.packages.${pkgs.system}.niri;
|
||||
};
|
||||
nix-ld.enable = true;
|
||||
nix-ld.enable = false;
|
||||
nix-ld.libraries = with pkgs; [
|
||||
wayland
|
||||
];
|
||||
|
|
@ -151,20 +148,20 @@
|
|||
users.defaultUserShell = pkgs.zsh;
|
||||
|
||||
security.rtkit.enable = true;
|
||||
boot = rec {
|
||||
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
extraModulePackages = with kernelPackages; [
|
||||
v4l2loopback
|
||||
];
|
||||
|
||||
consoleLogLevel = 0;
|
||||
|
||||
initrd.verbose = false;
|
||||
plymouth = rec {
|
||||
enable = true;
|
||||
theme = "colorful";
|
||||
themePackages = [ (pkgs.adi1090x-plymouth-themes.override { selected_themes = [ theme ]; }) ];
|
||||
};
|
||||
|
||||
kernelParams = [
|
||||
"plymouth.use-simpledrm"
|
||||
"quiet"
|
||||
"splash"
|
||||
"boot.shell_on_fail"
|
||||
|
|
@ -176,15 +173,10 @@
|
|||
];
|
||||
|
||||
kernelModules = [
|
||||
"v4l2loopback"
|
||||
"nct6775"
|
||||
"k10temp"
|
||||
];
|
||||
|
||||
extraModprobeConfig = ''
|
||||
options v4l2loopback devices=1 video_nr=2 card_label="OBS Cam" exclusive_caps=1
|
||||
'';
|
||||
|
||||
loader = {
|
||||
timeout = 3;
|
||||
efi.canTouchEfiVariables = true;
|
||||
|
|
@ -225,14 +217,13 @@
|
|||
tlp.enable = true;
|
||||
power-profiles-daemon.enable = false;
|
||||
xserver = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
xkb = {
|
||||
layout = "us";
|
||||
variant = "intl";
|
||||
variant = "altgr intl";
|
||||
};
|
||||
};
|
||||
udev.packages = [ pkgs.yubikey-personalization ];
|
||||
upower.enable = true;
|
||||
};
|
||||
|
||||
systemd = {
|
||||
|
|
@ -287,6 +278,7 @@
|
|||
};
|
||||
security = {
|
||||
polkit.enable = true;
|
||||
sudo.execWheelOnly = true;
|
||||
};
|
||||
|
||||
# Open ports in the firewall.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue