summaryrefslogtreecommitdiff
path: root/machines/hierophant
diff options
context:
space:
mode:
Diffstat (limited to 'machines/hierophant')
-rw-r--r--machines/hierophant/configuration.nix50
1 files changed, 45 insertions, 5 deletions
diff --git a/machines/hierophant/configuration.nix b/machines/hierophant/configuration.nix
index a37166e..a9a8d2c 100644
--- a/machines/hierophant/configuration.nix
+++ b/machines/hierophant/configuration.nix
@@ -6,6 +6,7 @@
config,
lib,
pkgs,
+ pkgs-unstable,
...
}:
@@ -19,17 +20,42 @@
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
+ boot.kernelModules = [ "sg" ];
+
+ virtualisation.docker = {
+ enable = true;
+ };
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
- services.tailscale.enable = true;
- services.tailscale.extraSetFlags = [ "--ssh" ];
+ services.avahi = {
+ enable = true;
+ nssmdns4 = true;
+ openFirewall = true;
+ };
+
+ services.printing = {
+ enable = true;
+ drivers = with pkgs; [
+ cups-filters
+ cups-browsed
+ ];
+ };
+
+ services.ipp-usb.enable = true;
services.gnome.gnome-keyring.enable = true;
+ services.tailscale = {
+ package = pkgs-unstable.tailscale;
+ enable = true;
+ extraSetFlags = [ "--ssh" ];
+ extraDaemonFlags = [ "--no-logs-no-support" ];
+ };
+
nixpkgs.config.allowUnfree = true;
hardware.graphics.enable = true;
@@ -39,9 +65,11 @@
programs.steam.enable = true;
- services.displayManager.sddm.enable = true;
+ services.displayManager.ly.enable = true;
+ services.displayManager.ly.x11Support = true;
+
services.xserver.displayManager.sessionCommands = ''
- xrandr --output DP-4 --mode 3840x2160 --rate 159.98
+ xrandr --output DP-0 --mode 3840x2160 --rate 159.98
'';
networking.hostName = "hierophant"; # Define your hostname.
@@ -74,10 +102,22 @@
# Enable sound.
# services.pulseaudio.enable = true;
# OR
+
+ security.rtkit.enable = true;
+
services.pipewire = {
enable = true;
pulse.enable = true;
alsa.enable = true;
+ extraConfig.pipewire."10-clock-rates" = {
+ "context.properties" = {
+ "default.clock.rate" = 48000;
+ "default.clock.allowed-rates" = [
+ 44100
+ 48000
+ ];
+ };
+ };
};
# Enable touchpad support (enabled default in most desktopManager).
@@ -90,6 +130,7 @@
extraGroups = [
"wheel"
"video"
+ "docker"
"input"
"audio"
]; # Enable 'sudo' for the user.
@@ -99,7 +140,6 @@
dejavu_fonts
];
- programs.firefox.enable = true;
# List packages installed in system profile.
# You can use https://search.nixos.org/ to find more packages (and options).