Compare commits

...

7 commits

Author SHA1 Message Date
willifan
45af999d67 changed steam deck touchdevice transform 2024-11-05 23:06:41 +01:00
willifan
380978b48e changed Lillie hyprland scale 2024-11-04 23:49:34 +01:00
willifan
7056751d97 added emulation software 2024-11-04 21:31:31 +01:00
willifan
50b606c87d fix decky-loader 2024-11-04 17:37:53 +01:00
willifan
cc94956b4b made syncthing device specific 2024-11-03 21:06:07 +01:00
willifan
8bf1ac05e1 added hyprexit workaround 2024-11-03 20:55:45 +01:00
willifan
fb85169fdb fixed hyprland display 2024-11-03 20:26:52 +01:00
11 changed files with 110 additions and 4 deletions

View file

@ -3,5 +3,6 @@
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
#./disko.nix #./disko.nix
./syncthing.nix
]; ];
} }

View file

@ -3,5 +3,6 @@
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
./disko.nix ./disko.nix
./syncthing.nix
]; ];
} }

View file

@ -0,0 +1,52 @@
{ ... }:
{
services.syncthing = {
enable = true;
user = "willifan";
dataDir = "/mnt/data";
configDir = "/mnt/data/.config/syncthing";
overrideDevices = true;
overrideFolders = true;
settings = {
gui = {
user = "willifan";
password = "temppassword";
};
devices = {
Anton = { id = "WCDBADD-UPKCACI-X2YJOIO-5QC44PL-DBCR6TS-ADVQV33-HSMF32O-FOKMKAU"; };
};
folders = {
"Documents" = {
id = "jtl6g-qjmwo";
path = "/mnt/data/Documents";
devices = [ "Anton" ];
};
"Enpass" = {
id = "ciksm-xsw4m";
path = "/mnt/data/Enpass";
devices = [ "Anton" ];
};
"Pictures" = {
id = "po4qj-q9t0t";
path = "/mnt/data/Pictures";
devices = [ "Anton" ];
};
"Videos" = {
id = "4wqf5-xasng";
path = "/mnt/data/Videos";
devices = [ "Anton" ];
};
"Notes" = {
id = "oc61n-iewgj";
path = "/mnt/data/Notes";
devices = [ "Anton" ];
};
"Music" = {
id = "xxh8a-3y2tq";
path = "/mnt/data/Music";
devices = [ "Anton" ];
};
};
};
};
}

View file

@ -6,7 +6,6 @@
./nfs-client.nix ./nfs-client.nix
./nix-ld.nix ./nix-ld.nix
./printers.nix ./printers.nix
./syncthing.nix
]; ];
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;

View file

@ -2,6 +2,7 @@
{ {
imports = [ imports = [
./emulation.nix
./jovian.nix ./jovian.nix
]; ];
} }

View file

@ -0,0 +1,11 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
melonDS
dolphin-emu
lime3ds
cemu
steam-rom-manager
];
}

View file

@ -1,8 +1,32 @@
{ ... }: { pkgs, ... }:
{ {
jovian = { jovian = {
decky-loader.enable = true; decky-loader = {
enable = true;
user = "willifan";
extraPackages = with pkgs; [
# Generic packages
curl
unzip
util-linux
gnugrep
readline.out
procps
pciutils
libpulseaudio
# SimpleDeckyTDP
ryzenadj # actual TDP util
kmod # modprobe for acpi_call check
];
extraPythonPackages = pythonPackages: with pythonPackages; [
pyyaml # hhd-decky
aiohttp
certifi
];
};
devices.steamdeck = { devices.steamdeck = {
enable = true; enable = true;
enableGyroDsuService = true; enableGyroDsuService = true;
@ -15,4 +39,9 @@
desktopSession = "hyprland"; desktopSession = "hyprland";
}; };
}; };
environment.systemPackages = with pkgs; [
python3
];
} }

View file

@ -4,6 +4,7 @@
programs.hyprland.enable = true; programs.hyprland.enable = true;
imports = [ imports = [
./fuzzel.nix ./fuzzel.nix
./hyprexit.nix
./hyprland.nix ./hyprland.nix
./hyprpaper.nix ./hyprpaper.nix
./mako.nix ./mako.nix

View file

@ -0,0 +1,9 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
(pkgs.writeShellScriptBin "hyprexit" ''
${hyprland}/bin/hyprctl dispatch exit
${systemd}/bin/loginctl terminate-user willifan
'')
];
}

View file

@ -16,7 +16,7 @@
monitor = [ monitor = [
", preffered, auto, 1" ", preffered, auto, 1"
"eDP-1, 1280x800, 0x0, 1.5, transform, 1" "eDP-1, preffered, 0x0, 1.25, transform, 3"
]; ];
# Execute your favorite apps at launch # Execute your favorite apps at launch
exec-once = [ exec-once = [
@ -44,6 +44,8 @@
follow_mouse = 1; follow_mouse = 1;
touchpad.natural_scroll = "yes"; touchpad.natural_scroll = "yes";
touchdevice.transform = 3;
sensitivity = -0.8; # -1.0 - 1.0, 0 means no modification. sensitivity = -0.8; # -1.0 - 1.0, 0 means no modification.
numlock_by_default = 1; numlock_by_default = 1;