Move laptop to Plasma 6
This commit is contained in:
parent
c1980d9020
commit
4ccf127baf
13 changed files with 38 additions and 29 deletions
|
@ -64,7 +64,7 @@
|
|||
# User Machines
|
||||
nixos-desktop = libx.mkHost { hostname = "nixos-desktop"; unfree = true; desktop = "plasma6"; };
|
||||
framework13 = libx.mkHost { hostname = "framework13"; unfree = true; desktop = "gnome"; };
|
||||
framework16 = libx.mkHost { hostname = "framework16"; unfree = true; desktop = "gnome"; };
|
||||
framework16 = libx.mkHost { hostname = "framework16"; unfree = true; desktop = "plasma6"; };
|
||||
steamdeck = libx.mkDeck { hostname = "steamdeck"; desktop = "plasma6"; };
|
||||
|
||||
# Raspberry Pi's
|
||||
|
@ -87,7 +87,7 @@
|
|||
# User Machines
|
||||
"albert@nixos-desktop" = libx.mkHome { hostname = "nixos-desktop"; desktop = "plasma6"; };
|
||||
"albert@framework13" = libx.mkHome { hostname = "framework13"; desktop = "gnome"; };
|
||||
"albert@framework16" = libx.mkHome { hostname = "framework16"; desktop = "gnome"; };
|
||||
"albert@framework16" = libx.mkHome { hostname = "framework16"; desktop = "plasma6"; };
|
||||
"albert@steamdeck" = libx.mkHome { hostname = "steamdeck"; desktop = "plasma6"; };
|
||||
|
||||
# Raspberry Pi's
|
||||
|
|
|
@ -85,9 +85,11 @@
|
|||
active_opacity = 0.75;
|
||||
inactive_opacity = 0.6;
|
||||
fullscreen_opacity = 1.0;
|
||||
drop_shadow = true;
|
||||
shadow_range = 4;
|
||||
shadow_render_power = 3;
|
||||
shadow = {
|
||||
enabled = true;
|
||||
range = 4;
|
||||
render_power = 3;
|
||||
};
|
||||
blur = {
|
||||
size = 6;
|
||||
passes = 3;
|
||||
|
@ -110,7 +112,6 @@
|
|||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||
pseudotile = true; # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
preserve_split = true;# you probably want this
|
||||
no_gaps_when_only = 1; # If it's the only window int he layout, 1=don't show gaps
|
||||
};
|
||||
windowrule = [
|
||||
"noblur,^(firefox)$" # disables blur for firefox
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ pkgs, ... }: {
|
||||
programs.swaylock = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
package = pkgs.swaylock-effects;
|
||||
settings = {
|
||||
# All <color> options are of the form <rrggbb[aa]>.
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
{ pkgs, ... }: {
|
||||
{ lib, pkgs, ... }: {
|
||||
imports = [
|
||||
./components
|
||||
./assets/waybar/scripts.nix
|
||||
];
|
||||
|
||||
# TODO Update this when I move
|
||||
# FIX: Make sure this works with geoclue2
|
||||
services.gammastep = {
|
||||
enable = true;
|
||||
latitude = "52.23";
|
||||
longitude = "21.01";
|
||||
provider = "geoclue2";
|
||||
# latitude = "52.23";
|
||||
# longitude = "21.01";
|
||||
};
|
||||
|
||||
gtk.enable = true;
|
||||
|
@ -19,7 +20,7 @@
|
|||
|
||||
stylix = {
|
||||
enable = true;
|
||||
autoEnable = true;
|
||||
autoEnable = lib.mkForce false;
|
||||
opacity = {
|
||||
desktop = 0.7;
|
||||
popups = 0.7;
|
||||
|
|
|
@ -68,8 +68,8 @@
|
|||
{
|
||||
name = "org.kde.plasma.kicker";
|
||||
config = {
|
||||
General.icon = "draw-circle";
|
||||
# General.icon = "nix-snowflake-white";
|
||||
# General.icon = "draw-circle";
|
||||
General.icon = "nix-snowflake-white";
|
||||
};
|
||||
}
|
||||
{
|
||||
|
@ -100,6 +100,7 @@
|
|||
"org.kde.plasma.notifications"
|
||||
"org.kde.plasma.microphone"
|
||||
"org.kde.plasma.mediaplayer"
|
||||
"org.kde.plasma.media-player"
|
||||
"org.kde.plasma.manage-inputmethod"
|
||||
"org.kde.plasma.keyboardindicator"
|
||||
"org.kde.plasma.keyboardlayout"
|
||||
|
@ -117,6 +118,8 @@
|
|||
"remmina"
|
||||
"vlc"
|
||||
"Battle.net"
|
||||
"battle.net"
|
||||
""
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
@ -77,7 +77,7 @@
|
|||
};
|
||||
notify = {
|
||||
enable = true;
|
||||
topDown = true;
|
||||
topDown = false;
|
||||
fps = 60;
|
||||
stages = "slide";
|
||||
};
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
kagi-search
|
||||
consent-o-matic
|
||||
bitwarden
|
||||
markdownload
|
||||
copy-selection-as-markdown
|
||||
];
|
||||
|
||||
containersForce = true;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ theme, ... }: {
|
||||
wayland.windowManager.hyprland = {
|
||||
settings = {
|
||||
monitor = ",highrr,auto,1.175";
|
||||
monitor = ",highrr,auto,1";
|
||||
bind = [
|
||||
'', XF86AudioMute, exec, swayosd --output-volume=mute-toggle''
|
||||
'', XF86AudioPrev, exec, playerctl previous''
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
allowUnfree = unfree;
|
||||
permittedInsecurePackages = [
|
||||
"electron-27.3.11" # Logseq
|
||||
# "olm-3.2.16" # Unknown
|
||||
"dotnet-runtime-wrapped-7.0.20"
|
||||
"dotnet-runtime-7.0.20"
|
||||
"olm-3.2.16" # Something in hyprland
|
||||
];
|
||||
};
|
||||
hostPlatform = system;
|
||||
|
@ -20,9 +20,9 @@
|
|||
allowUnfree = unfree;
|
||||
permittedInsecurePackages = [
|
||||
"electron-27.3.11" # Logseq
|
||||
# "olm-3.2.16" # Unknown
|
||||
"dotnet-runtime-wrapped-7.0.20"
|
||||
"dotnet-runtime-7.0.20"
|
||||
"olm-3.2.16" # Something in hyprland
|
||||
];
|
||||
};
|
||||
hostPlatform = system;
|
||||
|
|
|
@ -143,7 +143,6 @@
|
|||
];
|
||||
|
||||
# Enable sound with pipewire.
|
||||
sound.enable = true;
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
inputs.nixos-hardware.nixosModules.framework-16-7040-amd
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
./disks.nix
|
||||
./vm-gpu.nix
|
||||
# ./vm-gpu.nix
|
||||
../../common/services/tailscale-autoconnect.nix
|
||||
../../common/modules/secureboot.nix
|
||||
# ../../common/modules/boot.nix
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
{ pkgs, lib, ... }: # https://olai.dev/blog/nvidia-vm-passthrough/
|
||||
{ pkgs, lib, pkgs-unstable, ... }: # https://olai.dev/blog/nvidia-vm-passthrough/
|
||||
let
|
||||
devices = [
|
||||
"1002:7480" # Video
|
||||
"1002:1640" # Audio
|
||||
"1002:ab30" # Audio
|
||||
];
|
||||
in {
|
||||
virtualisation.libvirtd = {
|
||||
|
@ -10,17 +10,22 @@ in {
|
|||
qemu.ovmf.enable = true;
|
||||
onBoot = "ignore";
|
||||
onShutdown = "shutdown";
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
programs.virt-manager.enable = true;
|
||||
users.users.albert.extraGroups = [ "libvirtd" ];
|
||||
environment.systemPackages = [ pkgs.virt-manager ];
|
||||
environment.systemPackages = [
|
||||
pkgs.virt-manager
|
||||
pkgs.looking-glass-client
|
||||
];
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
"f /dev/shm/looking-glass 0660 albert libvirtd -"
|
||||
];
|
||||
|
||||
boot.kernelParams = [
|
||||
"vfio-pci.ids=${lib.concatStringsSep "," devices}"
|
||||
"intel_iommu=on"
|
||||
"iommu=pt"
|
||||
"amd_iommu=on"
|
||||
];
|
||||
|
||||
# Make the devices bind to VFIO
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 8ed82c9afaac6359cf4603196f7a5bd4b399a4b5
|
||||
Subproject commit 26552d8bade6fa39188ebf68e9ffa1a8dcd75108
|
Loading…
Add table
Reference in a new issue