change some niri config, add setup script for nobara on PC

This commit is contained in:
greyweather committed 2026-09-06 18:57:00 +01:00
1 parent dc06d29cf1
commit f546ca5a0c
9 files changed
+56 -28

No files matched your search

+4
View File
@@ -1,3 +1,5 @@
include "./shared.kdl"
input {
keyboard {
repeat-delay 600
@@ -64,3 +66,5 @@ window-rule {
switch-events {
lid-close { spawn "systemctl hibernate"; }
}
include "noctalia.kdl"
+4 -5
View File
@@ -1,5 +1,3 @@
include "./noctalia.kdl"
input {
keyboard {
xkb {
@@ -55,6 +53,7 @@ binds {
Mod+Shift+P hotkey-overlay-title="Open power menu" { spawn "noctalia" "msg" "panel-toggle" "session"; }
Mod+V hotkey-overlay-title="Show clipboard helper" { spawn "noctalia" "msg" "panel-toggle" "clipboard"; }
Mod+P hotkey-overlay-title="Show power info" { spawn "noctalia" "msg" "panel-toggle" "control-center" "power"; }
Mod+W hotkey-overlay-title="Show wallpaper panel" { spawn "noctalia" "msg" "panel-toggle" "wallpaper"; }
Ctrl+Shift+Escape { spawn "noctalia" "msg" "panel-toggle" "control-center" "system"; }
Mod+Up { focus-workspace-up; }
@@ -125,7 +124,7 @@ animations {
on
slowdown 1
workspace-switch {
spring damping-ratio=0.9 stiffness=750 epsilon=0.0001
spring damping-ratio=0.9 stiffness=650 epsilon=0.0001
}
window-open {
duration-ms 100
@@ -136,12 +135,12 @@ animations {
curve "ease-out-quad"
}
horizontal-view-movement {
spring damping-ratio=0.85 stiffness=850 epsilon=0.0001
spring damping-ratio=0.95 stiffness=750 epsilon=0.0001
}
window-movement {
spring damping-ratio=0.9 stiffness=750 epsilon=0.0001
}
window-resize {
spring damping-ratio=0.8 stiffness=650 epsilon=0.0001
spring damping-ratio=0.75 stiffness=700 epsilon=0.0001
}
}
@@ -4,7 +4,7 @@
"authenticated": false,
"settingsSync": false,
"url": "https://cloud.equicord.org/",
"settingsSyncVersion": 1788650476307
"settingsSyncVersion": 1788703728040
},
"enableOnlineThemes": true,
"enabledThemeLinks": [
+2
View File
@@ -106,3 +106,5 @@ window-rule {
match app-id="^org\\.prismlauncher\\.PrismLauncher$"
default-window-height { fixed 750; }
}
include "noctalia.kdl"
+16 -8
View File
@@ -1,4 +1,16 @@
{ inputs, self, ... }: {
{ inputs, self, ... }: let
extraPackages = pkgs: with pkgs; [
x264
gparted
vlc
obsidian
proton-vpn
ente-auth
signal-desktop
github-desktop
kdePackages.filelight
];
in {
flake.nixosModules.graphics = { pkgs, ... }: {
imports = [ self.nixosModules.graphicsOptions ];
@@ -6,7 +18,7 @@
wayland-utils
mesa-demos
vulkan-tools
];
] ++ (if !config.features.nixos.home-manager.enable then (extraPackages pkgs) else []);
fonts.packages = with pkgs; [
iosevka-comfy.comfy
@@ -17,14 +29,10 @@
flake.homeModules.graphics = { config, pkgs, ... }: {
imports = [ self.homeModules.graphicsOptions ];
home.packages = with pkgs; [
bibata-cursors
x264
gparted
vlc
home.packages = (extraPackages pkgs) ++ (if config.info.isStandalone then (with pkgs; [
iosevka-comfy.comfy
nerd-fonts.jetbrains-mono
];
]) else []);
dconf.settings = {
"org/gnome/desktop/interface" = {
-2
View File
@@ -8,8 +8,6 @@
flake.nixosModules.global = { config, pkgs, lib, ... }: {
config = lib.mkIf (config.features.shells.zsh.enable || config.features.shells.defaultShell == "zsh") {
programs.zsh.enable = true;
home-manager.users.${config.info.userName} = lib.mkIf (config.features.nixos.home-manager.enable) {
features.shells.zsh.enable = lib.mkDefault true;
features.shells.zsh.antidote.enable = lib.mkDefault config.features.shells.zsh.antidote.enable;
+1 -7
View File
@@ -40,6 +40,7 @@
enable = true;
spicetify.enable = true;
};
thunderbird.enable = true;
};
cli = {
@@ -48,7 +49,6 @@
};
extraPackages = with pkgs; [
github-desktop
moonlight-qt
];
};
@@ -99,15 +99,9 @@
features = {
applications = {
extraPackages = with pkgs; [
obsidian
thunderbird
jetbrains.clion
jetbrains.idea
proton-vpn
ente-auth
signal-desktop
xarchiver
kdePackages.filelight
kdePackages.kate
loupe
sshfs
+27
View File
@@ -0,0 +1,27 @@
#!/bin/bash
nobara-sync cli
# niri build dependencies
sudo dnf install git cargo gcc libudev-devel libgbm-devel libxkbcommon-devel wayland-devel libinput-devel dbus-devel systemd-devel libseat-devel pipewire-devel pango-devel cairo-gobject-devel clang libdisplay-info-devel -y
cargo install -f cargo-generate-rpm
# build niri (biri fork)
cd ~/Documents
git clone https://github.com/barrulus/biri
cd biri
cargo build --release
cargo generate-rpm
RPM_FILE=$(ls ./target/generate-rpm)
sudo dnf install ./target/generate-rpm/$RPM_FILE -y
# other system applications that are NOT handled by nix+home-manager
sudo dnf install noctalia steam goverlay protonplus prismlauncher obs-studio mangohud -y
# activate home-manger config
sudo dnf install nix -y
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
nix-channel --update
nix-shell '<home-manager>' -A install
home-manager switch --flake ~/flake
+1 -5
View File
@@ -67,15 +67,11 @@
theme = "comfy";
};
};
thunderbird = {
enable = true;
};
thunderbird.enable = true;
};
extraPackages = with pkgs; [
nix-init
github-desktop
signal-desktop
];
shellScripts = let