Compare commits

..

5 commits

Author SHA1 Message Date
caandt dc66fb7f38 default app 2024-11-12 02:26:05 -06:00
caandt 6c5156d187 physlock 2024-11-12 02:25:50 -06:00
caandt 701f1f4bf9 edit script 2024-11-12 02:25:31 -06:00
caandt 2ba3ff1f5b dolphin 2024-11-12 01:38:14 -06:00
caandt c192c48bad osu settings 2024-11-11 22:03:53 -06:00
10 changed files with 99 additions and 7 deletions

View file

@ -2,6 +2,7 @@
imports = [
../../system
./hardware-configuration.nix
./osu.nix
];
networking.hostName = "hyuganatsu";
@ -19,10 +20,5 @@
isNormalUser = true;
};
};
services.udev.packages = [pkgs.opentabletdriver];
services.xserver.wacom.enable = true;
nix.settings = {
substituters = ["https://nix-gaming.cachix.org"];
trusted-public-keys = ["nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="];
};
}

34
hosts/hyuganatsu/osu.nix Normal file
View file

@ -0,0 +1,34 @@
{pkgs, ...}: {
services.udev.packages = [pkgs.opentabletdriver];
nix.settings = {
substituters = ["https://nix-gaming.cachix.org"];
trusted-public-keys = ["nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="];
};
programs.gamemode.enable = true;
services.pipewire.extraConfig.pipewire."92-low-latency" = {
"context.properties" = {
"default.clock.rate" = 48000;
"default.clock.quantum" = 64;
"default.clock.min-quantum" = 64;
"default.clock.max-quantum" = 64;
};
};
services.pipewire.extraConfig.pipewire-pulse."92-low-latency" = {
context.modules = [
{
name = "libpipewire-module-protocol-pulse";
args = {
pulse.min.req = "32/48000";
pulse.default.req = "32/48000";
pulse.max.req = "32/48000";
pulse.min.quantum = "32/48000";
pulse.max.quantum = "32/48000";
};
}
];
stream.properties = {
node.latency = "32/48000";
resample.quality = 1;
};
};
}

View file

@ -9,4 +9,8 @@
];
};
security.polkit.enable = true;
services.physlock = {
enable = true;
allowAnyUser = true;
};
}

View file

@ -34,6 +34,13 @@ if ! [ -z "$FIRST" ]; then
$EDITOR "$1"
exit
fi
SEARCH="$(fd "$CONFIG" "$NIX" -p1)"
if [ -n "$SEARCH" ]; then
rm "$FIRST"
ln -s "$SEARCH" "$FIRST"
$EDITOR "$1"
exit
fi
echo "not symlinkable"
exit 1
fi

View file

@ -1,9 +1,11 @@
{...}: {
imports = [./user-places.nix];
xdg.configFile.arkrc.source = ./arkrc;
xdg.configFile.dolphinrc.source = ./dolphinrc;
xdg.configFile.kdeglobals.source = ./kdeglobals;
xdg.configFile.kiorc.source = ./kiorc;
xdg.configFile.kservicemenurc.source = ./kservicemenurc;
xdg.configFile.lightlyrc.source = ./lightlyrc;
xdg.dataFile."ark/ark_recentfiles" = {
text = "";
force = true;

37
user/config/kde/dolphinrc Normal file
View file

@ -0,0 +1,37 @@
MenuBar=Disabled
[ContextMenu]
ShowAddToPlaces=false
[FoldersPanel]
HiddenFilesShown=true
LimitFoldersPanelToHome=false
[General]
RememberOpenedTabs=false
ShowFullPath=true
ShowFullPathInTitlebar=true
Version=202
[IconsMode]
PreviewSize=48
[KFileDialog Settings]
Places Icons Auto-resize=false
Places Icons Static Size=22
[MainWindow]
MenuBar=Disabled
ToolBarsMovable=Disabled
[MainWindow][Toolbar mainToolBar]
ToolButtonStyle=IconOnly
[PreviewSettings]
Plugins=audiothumbnail,blenderthumbnail,comicbookthumbnail,cursorthumbnail,djvuthumbnail,ebookthumbnail,exrthumbnail,fontthumbnail,imagethumbnail,jpegthumbnail,kraorathumbnail,windowsexethumbnail,windowsimagethumbnail,mobithumbnail,opendocumentthumbnail,gsthumbnail,rawthumbnail,svgthumbnail,ffmpegthumbs
[Search]
Location=Everywhere
[Toolbar mainToolBar]
ToolButtonStyle=IconOnly

View file

@ -0,0 +1,9 @@
[Common]
CornerRadius=1
[Style]
AnimationsEnabled=false
DolphinSidebarOpacity=80
MenuItemDrawStrongFocus=false
TabDrawHighlight=true
ToolBarDrawItemSeparator=true

View file

@ -2,14 +2,14 @@
custom_palette=false
icon_theme=Papirus
standard_dialogs=kde
style=Breeze
style=Lightly
[Fonts]
fixed="Noto Sans Mono,10,-1,5,50,0,0,0,0,0"
general="Noto Sans,10,-1,5,50,0,0,0,0,0"
[Interface]
activate_item_on_single_click=1
activate_item_on_single_click=2
buttonbox_layout=0
cursor_flash_time=1000
dialog_buttons_have_icons=1

View file

@ -31,6 +31,7 @@
libsForQt5.kolourpaint
libsForQt5.filelight
papirus-icon-theme
lightly-boehs
pavucontrol
qpwgraph
qbittorrent

View file

@ -20,6 +20,8 @@
"text/plain" = text;
"application/xml" = text;
"inode/directory" = "org.kde.dolphin.desktop";
};
xdg.portal = {
enable = true;