services update

This commit is contained in:
cnst
2024-07-06 10:57:11 +02:00
parent 82b9d4bf24
commit 7531426abe
6 changed files with 55 additions and 40 deletions

View File

@@ -1,4 +1,11 @@
{pkgs, ...}: {
imports = [
./pipewire.nix
./greetd.nix
./xserver.nix
./openssh.nix
./mullvad.nix
];
services = {
dbus.packages = with pkgs; [
gcr
@@ -7,44 +14,5 @@
gvfs.enable = true;
blueman.enable = true;
gnome.gnome-keyring.enable = true;
mullvad-vpn = {
enable = true;
package = pkgs.mullvad-vpn;
};
greetd = {
enable = true;
settings = {
# initial_session = {
# command = "${pkgs.hyprland}/bin/Hyprland";
# user = "cnst";
# };
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet -r --remember-session";
user = "greeter";
};
};
};
openssh = {
enable = true;
settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
};
};
xserver = {
enable = true;
videoDrivers = ["amdgpu"];
xkb = {
extraLayouts.hhkbse = {
description = "HHKBse by cnst";
languages = ["se"];
symbolsFile = /home/cnst/.nix-config/nixos/hosts/cnix/xkb/symbols/hhkbse;
};
layout = "hhkbse";
# dir = "/home/cnst/.nix-config/nixos/xkb";
variant = "";
options = "lv3:rwin_switch";
};
};
};
}