# Breaking Changes - sops location movod to "system/dev/<dev-name>/sops/sops-conf.nix" - flake devices declaration changes - whole flake update
118 lines
3 KiB
Nix
118 lines
3 KiB
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
inherit (config.systemConf) username;
|
|
inherit (lib) mkForce optionalString;
|
|
|
|
geVersion = "10-15";
|
|
|
|
memeSelector = pkgs.callPackage ../../../../home/scripts/memeSelector.nix {
|
|
url = "https://nextcloud.net.dn/public.php/dav/files/pygHoPB5LxDZbeY/";
|
|
};
|
|
|
|
faceIcon = pkgs.fetchurl {
|
|
url = "https://files.net.dn/skydrive.jpg";
|
|
hash = "sha256-aMjl6VL1Zy+r3ElfFyhFOlJKWn42JOnAFfBXF+GPB/Q=";
|
|
curlOpts = "-k";
|
|
};
|
|
in
|
|
{
|
|
|
|
environment.systemPackages = map lib.lowPrio [
|
|
pkgs.curl
|
|
pkgs.gitMinimal
|
|
memeSelector
|
|
];
|
|
|
|
home-manager = {
|
|
users."${username}" = {
|
|
imports = [
|
|
../../../../home/presets/basic.nix
|
|
|
|
{
|
|
home.file.".face" = {
|
|
source = mkForce faceIcon;
|
|
};
|
|
}
|
|
|
|
{
|
|
wayland.windowManager.hyprland = {
|
|
settings = {
|
|
input = {
|
|
kb_options = lib.mkForce [ ];
|
|
};
|
|
|
|
bind = [
|
|
"$mainMod ctrl, M, exec, ${memeSelector}/bin/memeSelector"
|
|
];
|
|
};
|
|
};
|
|
}
|
|
|
|
(import ../../../../home/user/waybar.nix {
|
|
settings = [
|
|
# monitor 1
|
|
{
|
|
output = "eDP-1";
|
|
modules-left = [
|
|
"custom/os"
|
|
"hyprland/workspaces"
|
|
"clock"
|
|
"custom/cava"
|
|
"mpris"
|
|
];
|
|
modules-right = [
|
|
"wlr/taskbar"
|
|
(optionalString config.programs.gamemode.enable "custom/gamemode")
|
|
"custom/airplay"
|
|
"custom/wallRand"
|
|
"custom/wireguard"
|
|
"custom/recording"
|
|
"idle_inhibitor"
|
|
"network"
|
|
"cpu"
|
|
"memory"
|
|
"pulseaudio"
|
|
"custom/swaync"
|
|
];
|
|
}
|
|
{
|
|
output = "HDMI-A-2";
|
|
modules-left = [
|
|
"clock"
|
|
"mpris"
|
|
];
|
|
modules-right = [
|
|
"wlr/taskbar"
|
|
"temperature"
|
|
"cpu"
|
|
"memory"
|
|
"pulseaudio"
|
|
];
|
|
}
|
|
];
|
|
})
|
|
];
|
|
|
|
home.file = {
|
|
# Proton GE
|
|
".steam/root/compatibilitytools.d/GE-Proton${geVersion}" = {
|
|
source = fetchTarball {
|
|
url = "https://github.com/GloriousEggroll/proton-ge-custom/releases/download/GE-Proton${geVersion}/GE-Proton${geVersion}.tar.gz";
|
|
sha256 = "sha256:0iv7vak4a42b5m772gqr6wnarswib6dmybfcdjn3snvwxcb6hbsm";
|
|
};
|
|
};
|
|
".steam/root/compatibilitytools.d/CachyOS-Proton10-0_v3" = {
|
|
source = fetchTarball {
|
|
url = "https://github.com/CachyOS/proton-cachyos/releases/download/cachyos-10.0-20250714-slr/proton-cachyos-10.0-20250714-slr-x86_64_v3.tar.xz";
|
|
sha256 = "sha256:0hp22hkfv3f1p75im3xpif0pmixkq2i3hq3dhllzr2r7l1qx16iz";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|