Merge branch 'master' of https://git.dhilton.xyz/k/nixos_configs
Some checks failed
Verify Nix Flake / verify_build (push) Failing after 1m11s
Some checks failed
Verify Nix Flake / verify_build (push) Failing after 1m11s
This commit is contained in:
@@ -18,6 +18,9 @@
|
||||
boot.kernelParams = [ "amdgpu.ppfeaturemask=0xfff7ffff" "amdgpu.gpu_recovery=1" ];
|
||||
services.openssh = {enable = true;};
|
||||
|
||||
virtualisation.docker.enable = true;
|
||||
virtualisation.docker.storageDriver = "btrfs";
|
||||
|
||||
|
||||
networking = {
|
||||
hostName = "desktop";
|
||||
@@ -34,14 +37,14 @@
|
||||
|
||||
services = {
|
||||
pipewire = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
jack.enable = true;
|
||||
};
|
||||
wivrn = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
defaultRuntime = true;
|
||||
autoStart = true;
|
||||
};
|
||||
@@ -53,7 +56,7 @@
|
||||
};
|
||||
|
||||
stylix = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
autoEnable = true;
|
||||
polarity = "light";
|
||||
image = ../laptop/wallpaper.png;
|
||||
@@ -107,16 +110,16 @@
|
||||
|
||||
programs = {
|
||||
zsh.enable = true;
|
||||
steam.enable = true;
|
||||
gamescope.enable = true;
|
||||
envision.enable = true;
|
||||
corectrl.enable = true;
|
||||
steam.enable = false;
|
||||
gamescope.enable = false;
|
||||
envision.enable = false;
|
||||
corectrl.enable = false;
|
||||
};
|
||||
|
||||
users.users.k = {
|
||||
isNormalUser = true;
|
||||
description = "k";
|
||||
extraGroups = ["networkmanager" "wheel"];
|
||||
extraGroups = ["networkmanager" "wheel" "docker"];
|
||||
packages = with pkgs; [zsh];
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
|
||||
@@ -6,42 +6,42 @@
|
||||
}: {
|
||||
imports = [../home/home_common.nix];
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
steam
|
||||
neovim
|
||||
firefox
|
||||
wivrn
|
||||
opencomposite
|
||||
wlx-overlay-s
|
||||
glslang
|
||||
gst_all_1.gstreamer
|
||||
libdrm
|
||||
openxr-loader
|
||||
khronos-ocl-icd-loader
|
||||
];
|
||||
};
|
||||
#home = {
|
||||
# packages = with pkgs; [
|
||||
# steam
|
||||
# neovim
|
||||
# firefox
|
||||
# wivrn
|
||||
# opencomposite
|
||||
# wlx-overlay-s
|
||||
# glslang
|
||||
# gst_all_1.gstreamer
|
||||
# libdrm
|
||||
# openxr-loader
|
||||
# khronos-ocl-icd-loader
|
||||
# ];
|
||||
#};
|
||||
|
||||
# For WiVRn:
|
||||
xdg.configFile."openxr/1/active_runtime.json".source = "${pkgs.wivrn}/share/openxr/1/openxr_wivrn.json";
|
||||
#xdg.configFile."openxr/1/active_runtime.json".source = "${pkgs.wivrn}/share/openxr/1/openxr_wivrn.json";
|
||||
|
||||
xdg.configFile."openvr/openvrpaths.vrpath".text = ''
|
||||
{
|
||||
"config" :
|
||||
[
|
||||
"${config.xdg.dataHome}/Steam/config"
|
||||
],
|
||||
"external_drivers" : null,
|
||||
"jsonid" : "vrpathreg",
|
||||
"log" :
|
||||
[
|
||||
"${config.xdg.dataHome}/Steam/logs"
|
||||
],
|
||||
"runtime" :
|
||||
[
|
||||
"${pkgs.opencomposite}/lib/opencomposite"
|
||||
],
|
||||
"version" : 1
|
||||
}
|
||||
'';
|
||||
#xdg.configFile."openvr/openvrpaths.vrpath".text = ''
|
||||
# {
|
||||
# "config" :
|
||||
# [
|
||||
# "${config.xdg.dataHome}/Steam/config"
|
||||
# ],
|
||||
# "external_drivers" : null,
|
||||
# "jsonid" : "vrpathreg",
|
||||
# "log" :
|
||||
# [
|
||||
# "${config.xdg.dataHome}/Steam/logs"
|
||||
# ],
|
||||
# "runtime" :
|
||||
# [
|
||||
# "${pkgs.opencomposite}/lib/opencomposite"
|
||||
# ],
|
||||
# "version" : 1
|
||||
# }
|
||||
#'';
|
||||
}
|
||||
|
||||
@@ -51,7 +51,9 @@
|
||||
settings = {
|
||||
exec-once = [
|
||||
#"${pkgs.iio-hyprland}/bin/iio-hyprland"
|
||||
#"${pkgs.batsignal}/bin/batsignal -n BAT0 -b"
|
||||
"${pkgs.batsignal}/bin/batsignal -n BAT0 -b"
|
||||
"${pkgs.waybar}/bin/waybar"
|
||||
"${pkgs.hyprpaper}/bin/hyprpaper"
|
||||
];
|
||||
monitor = "eDP-1,preferred,auto,1";
|
||||
general = {
|
||||
@@ -100,6 +102,13 @@
|
||||
"$mainMod, Space, exec, toggle_float"
|
||||
"$mainMod, Escape, exec, ${pkgs.hyprlock}/bin/hyprlock"
|
||||
|
||||
#emacs
|
||||
"$mainMod, E, exec, ${pkgs.emacs-pgtk}/bin/emacsclient -c"
|
||||
"$mainMod, C, exec, ${pkgs.emacs-pgtk}/bin/emacsclient -c -e\ \"(org-roam-capture)\""
|
||||
"$mainMod, B, exec, ${pkgs.emacs-pgtk}/bin/emacsclient -c -e\ \"(call-interactively #'bookmark-jump)\""
|
||||
"$mainMod, P, exec, ${pkgs.emacs-pgtk}/bin/emacsclient -c -e\ \"(project-dired)\""
|
||||
"$mainMod, M, exec, ${pkgs.emacs-pgtk}/bin/emacsclient -c -e \"(mingus)\""
|
||||
|
||||
# switch focus
|
||||
"$mainMod, left, movefocus, l"
|
||||
"$mainMod, right, movefocus, r"
|
||||
|
||||
@@ -55,12 +55,18 @@
|
||||
|
||||
services = {
|
||||
hardware.bolt = {enable = true;};
|
||||
xserver = {
|
||||
displayManager.gdm.enable = true;
|
||||
desktopManager.gnome.enable = true;
|
||||
displayManager.ly = {
|
||||
enable = true;
|
||||
x11Support = false;
|
||||
settings = {
|
||||
animation = "colormix";
|
||||
battery_id = "BAT0";
|
||||
clear_password = true;
|
||||
colormix_col1 = "0xA7C080";
|
||||
colormix_col2 = "0x7FBBB3";
|
||||
colormix_col3 = "0xE67E80";
|
||||
};
|
||||
};
|
||||
gnome.core-apps.enable = false;
|
||||
|
||||
pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
@@ -101,13 +107,14 @@
|
||||
stylix = {
|
||||
enable = true;
|
||||
autoEnable = true;
|
||||
polarity = "light";
|
||||
polarity = "dark";
|
||||
image = ./wallpaper.png;
|
||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/precious-light-warm.yaml";
|
||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/everforest.yaml";
|
||||
opacity = {
|
||||
terminal = 0.85;
|
||||
popups = 0.75;
|
||||
desktop = 0.75;
|
||||
applications = 0.85;
|
||||
};
|
||||
cursor = {
|
||||
package = pkgs.adwaita-icon-theme;
|
||||
@@ -145,11 +152,15 @@
|
||||
programs = {
|
||||
zsh.enable = true;
|
||||
virt-manager.enable = true;
|
||||
hyprland = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
virtualisation = {
|
||||
libvirtd = {enable = true;};
|
||||
kvmgt = {enable = true;};
|
||||
docker = {enable = true;};
|
||||
};
|
||||
|
||||
users.users.k = {
|
||||
@@ -189,7 +200,6 @@
|
||||
"loglevel=3"
|
||||
"rd.systemd.show_status=false"
|
||||
"rd.udev.log_level=3"
|
||||
"udev.lqog_priority=3"
|
||||
];
|
||||
loader.timeout = 0;
|
||||
};
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
}: {
|
||||
imports = [
|
||||
../home/home_common.nix
|
||||
../home/gnome.nix
|
||||
../home/hyprland.nix
|
||||
];
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 10 MiB After Width: | Height: | Size: 2.1 MiB |
Reference in New Issue
Block a user