lots of different things. too lazy

This commit is contained in:
Markus Heurung 2024-11-28 18:16:12 +01:00
parent 44e503e1ee
commit f080d7d9ad
4 changed files with 60 additions and 3 deletions

View file

@ -1,7 +1,10 @@
{ config, lib, pkgs, modulesPath, ... }:
{
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.settings = {
experimental-features = [ "nix-command" "flakes" ];
trusted-users = [ "root" "muhh" ];
};
nix.gc = {
automatic = true;

View file

@ -28,6 +28,11 @@
# Enable networking
networking.networkmanager.enable = true;
networking.hosts = {
# "178.63.121.197" = ["www.boell.de"];
"127.0.0.1" = ["muhh.local"];
};
# Workaround for broken networkmanager/systemd thing
# https://github.com/NixOS/nixpkgs/issues/180175#issuecomment-1658731959
systemd.services.NetworkManager-wait-online = {
@ -106,8 +111,10 @@
fonts.packages = with pkgs; [
atkinson-hyperlegible
iosevka
# secret-config.packages.x86_64-linux.default
];
programs = {
_1password.enable = true;
_1password-gui = {
@ -123,8 +130,13 @@
enable = true;
brightnessKeys.enable = true;
};
# niri.enable = true;
hyprland.enable = true;
niri.enable = true;
sway.enable = true;
# ssh = {
# pubkeyAcceptedKeyTypes = ["ssh-ed25519" "ssh-rsa"];
# hostKeyAlgorithms = ["ssh-ed25519" "ssh-rsa"];
# };
};
virtualisation = {
libvirtd = {