Compare commits
5 commits
c356fd05cd
...
dc66fb7f38
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dc66fb7f38 | ||
|
|
6c5156d187 | ||
|
|
701f1f4bf9 | ||
|
|
2ba3ff1f5b | ||
|
|
c192c48bad |
|
|
@ -2,6 +2,7 @@
|
||||||
imports = [
|
imports = [
|
||||||
../../system
|
../../system
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
./osu.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "hyuganatsu";
|
networking.hostName = "hyuganatsu";
|
||||||
|
|
@ -19,10 +20,5 @@
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
services.udev.packages = [pkgs.opentabletdriver];
|
|
||||||
services.xserver.wacom.enable = true;
|
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
34
hosts/hyuganatsu/osu.nix
Normal 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -9,4 +9,8 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
security.polkit.enable = true;
|
security.polkit.enable = true;
|
||||||
|
services.physlock = {
|
||||||
|
enable = true;
|
||||||
|
allowAnyUser = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,13 @@ if ! [ -z "$FIRST" ]; then
|
||||||
$EDITOR "$1"
|
$EDITOR "$1"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
SEARCH="$(fd "$CONFIG" "$NIX" -p1)"
|
||||||
|
if [ -n "$SEARCH" ]; then
|
||||||
|
rm "$FIRST"
|
||||||
|
ln -s "$SEARCH" "$FIRST"
|
||||||
|
$EDITOR "$1"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
echo "not symlinkable"
|
echo "not symlinkable"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,11 @@
|
||||||
{...}: {
|
{...}: {
|
||||||
imports = [./user-places.nix];
|
imports = [./user-places.nix];
|
||||||
xdg.configFile.arkrc.source = ./arkrc;
|
xdg.configFile.arkrc.source = ./arkrc;
|
||||||
|
xdg.configFile.dolphinrc.source = ./dolphinrc;
|
||||||
xdg.configFile.kdeglobals.source = ./kdeglobals;
|
xdg.configFile.kdeglobals.source = ./kdeglobals;
|
||||||
xdg.configFile.kiorc.source = ./kiorc;
|
xdg.configFile.kiorc.source = ./kiorc;
|
||||||
xdg.configFile.kservicemenurc.source = ./kservicemenurc;
|
xdg.configFile.kservicemenurc.source = ./kservicemenurc;
|
||||||
|
xdg.configFile.lightlyrc.source = ./lightlyrc;
|
||||||
xdg.dataFile."ark/ark_recentfiles" = {
|
xdg.dataFile."ark/ark_recentfiles" = {
|
||||||
text = "";
|
text = "";
|
||||||
force = true;
|
force = true;
|
||||||
|
|
|
||||||
37
user/config/kde/dolphinrc
Normal file
37
user/config/kde/dolphinrc
Normal 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
|
||||||
9
user/config/kde/lightlyrc
Normal file
9
user/config/kde/lightlyrc
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
[Common]
|
||||||
|
CornerRadius=1
|
||||||
|
|
||||||
|
[Style]
|
||||||
|
AnimationsEnabled=false
|
||||||
|
DolphinSidebarOpacity=80
|
||||||
|
MenuItemDrawStrongFocus=false
|
||||||
|
TabDrawHighlight=true
|
||||||
|
ToolBarDrawItemSeparator=true
|
||||||
|
|
@ -2,14 +2,14 @@
|
||||||
custom_palette=false
|
custom_palette=false
|
||||||
icon_theme=Papirus
|
icon_theme=Papirus
|
||||||
standard_dialogs=kde
|
standard_dialogs=kde
|
||||||
style=Breeze
|
style=Lightly
|
||||||
|
|
||||||
[Fonts]
|
[Fonts]
|
||||||
fixed="Noto Sans Mono,10,-1,5,50,0,0,0,0,0"
|
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"
|
general="Noto Sans,10,-1,5,50,0,0,0,0,0"
|
||||||
|
|
||||||
[Interface]
|
[Interface]
|
||||||
activate_item_on_single_click=1
|
activate_item_on_single_click=2
|
||||||
buttonbox_layout=0
|
buttonbox_layout=0
|
||||||
cursor_flash_time=1000
|
cursor_flash_time=1000
|
||||||
dialog_buttons_have_icons=1
|
dialog_buttons_have_icons=1
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,7 @@
|
||||||
libsForQt5.kolourpaint
|
libsForQt5.kolourpaint
|
||||||
libsForQt5.filelight
|
libsForQt5.filelight
|
||||||
papirus-icon-theme
|
papirus-icon-theme
|
||||||
|
lightly-boehs
|
||||||
pavucontrol
|
pavucontrol
|
||||||
qpwgraph
|
qpwgraph
|
||||||
qbittorrent
|
qbittorrent
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,8 @@
|
||||||
|
|
||||||
"text/plain" = text;
|
"text/plain" = text;
|
||||||
"application/xml" = text;
|
"application/xml" = text;
|
||||||
|
|
||||||
|
"inode/directory" = "org.kde.dolphin.desktop";
|
||||||
};
|
};
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue