substituters, sway mod preference per user, move hosts/absolution to hosts/apalapucia, etc
This commit is contained in:
parent
d0bb2fe776
commit
d8d3f43c53
10 changed files with 275 additions and 279 deletions
|
|
@ -18,7 +18,24 @@
|
|||
nano = "nvim";
|
||||
};
|
||||
|
||||
services.displayManager.ly.enable = true;
|
||||
services.displayManager.ly = {
|
||||
enable = true;
|
||||
settings.animation = "colormix";
|
||||
};
|
||||
|
||||
services.monado = {
|
||||
enable = true;
|
||||
defaultRuntime = true;
|
||||
};
|
||||
|
||||
systemd.user.services.monado.environment = {
|
||||
STEAMVR_LH_ENABLE = "1";
|
||||
XRT_COMPOSITOR_COMPUTE = "1";
|
||||
WMR_HANDTRACKING = "0";
|
||||
AMD_VULKAN_ICD = "RADV";
|
||||
};
|
||||
|
||||
services.udev.packages = with pkgs; [xr-hardware];
|
||||
|
||||
boot.kernelModules = [ "kvm-amd" "vhost_vsock" "vfio_virqfd" "vhost-net" "vfio_pci" "vfio_iommu_type1" "vfio"];
|
||||
boot.kernelParams = [ "amd_iommu=on" ];
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
{ config, pkgs, ... }:{
|
||||
imports = [
|
||||
./absolution.nix
|
||||
./apalapucia.nix
|
||||
../generic.nix
|
||||
];
|
||||
}
|
||||
|
|
@ -37,11 +37,32 @@
|
|||
gnupg.enable = true;
|
||||
};
|
||||
|
||||
programs.sway.enable = (if config.var.class == "desktop" then true else false);
|
||||
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
|
||||
nix.settings.substituters = [
|
||||
"https://nix-community.cachix.org"
|
||||
"https://nixpkgs-wayland.cachix.org"
|
||||
"https://cache.garnix.io"
|
||||
];
|
||||
|
||||
nix.settings.trusted-substituters = [
|
||||
"https://nix-community.cachix.org"
|
||||
"https://nixpkgs-wayalnd.cachix.org"
|
||||
"https://cache.garnix.io"
|
||||
];
|
||||
|
||||
nix.settings.trusted-public-keys = [
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
"niri.cachix.org-1:Wv0OmO7PsuocRKzfDoJ3mulSl7Z6oezYhGhR+3W2964="
|
||||
"nixpkgs-wayland.cachix.org-1:3lwxaILxMRkVhehr5StQprHdEo4IrE8sRho9R9HOLYA="
|
||||
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
|
||||
];
|
||||
|
||||
systemd.user.services.polkit-gnome-authentication-agent-1 = {
|
||||
description = "polkit-gnome-authentication-agent-1";
|
||||
wantedBy = [ "graphical-session.target" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue