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