Compare commits

...

4 commits

Author SHA1 Message Date
67c1ae558d fu8n 2025-09-06 23:02:44 +02:00
a6b6c2ac24 stuff 2025-09-06 22:44:29 +02:00
decd7bf4b3 fix 2025-09-06 21:38:59 +02:00
b8dece5c02 updates and stuff 2025-09-06 21:38:17 +02:00
5 changed files with 52 additions and 33 deletions

54
flake.lock generated
View file

@ -28,11 +28,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1756579987, "lastModified": 1757075491,
"narHash": "sha256-duCce8zGsaMsrqqOmLOsuaV1PVIw/vXWnKuLKZClsGg=", "narHash": "sha256-a+NMGl5tcvm+hyfSG2DlVPa8nZLpsumuRj1FfcKb2mQ=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "99a69bdf8a3c6bf038c4121e9c4b6e99706a187a", "rev": "f56bf065f9abedc7bc15e1f2454aa5c8edabaacf",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -72,11 +72,11 @@
"xwayland-satellite-unstable": "xwayland-satellite-unstable" "xwayland-satellite-unstable": "xwayland-satellite-unstable"
}, },
"locked": { "locked": {
"lastModified": 1756630712, "lastModified": 1757183725,
"narHash": "sha256-Rzr++5ZpaGWTaXwYLcksUtclSH703XLpquLoLRoFdlI=", "narHash": "sha256-oZaONTM5A7AhRaXvGr8PNyVL7qbFNIZpMXpsYdTOPmc=",
"owner": "sodiboo", "owner": "sodiboo",
"repo": "niri-flake", "repo": "niri-flake",
"rev": "dd88a1da72300083ff6ee4ad15fe30e7b2c7ad30", "rev": "32d7f54892a516be2060a1e106cde7b47a733c62",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -105,11 +105,11 @@
"niri-unstable": { "niri-unstable": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1756628420, "lastModified": 1756926064,
"narHash": "sha256-GWuU2XP+/72ybXSMXDugP3/qNbgyQWSFE9ZG5euk8cc=", "narHash": "sha256-5/1vyFRLvJWxhBgpPaV2orC0pjSgIny6JM6+joLyZok=",
"owner": "YaLTeR", "owner": "YaLTeR",
"repo": "niri", "repo": "niri",
"rev": "db419b4fc7dbfb32a5c954502839c2331bcb4ecc", "rev": "c69464c1288789020d9a086f86c970a7dc49b8c7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -120,11 +120,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1756542300, "lastModified": 1756787288,
"narHash": "sha256-tlOn88coG5fzdyqz6R93SQL5Gpq+m/DsWpekNFhqPQk=", "narHash": "sha256-rw/PHa1cqiePdBxhF66V7R+WAP8WekQ0mCDG4CFqT8Y=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d7600c775f877cd87b4f5a831c28aa94137377aa", "rev": "d0fc30899600b9b3466ddb260fd83deb486c32f1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -136,11 +136,11 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1756469547, "lastModified": 1757020766,
"narHash": "sha256-YvtD2E7MYsQ3r7K9K2G7nCslCKMPShoSEAtbjHLtH0k=", "narHash": "sha256-PLoSjHRa2bUbi1x9HoXgTx2AiuzNXs54c8omhadyvp0=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "41d292bfc37309790f70f4c120b79280ce40af16", "rev": "fe83bbdde2ccdc2cb9573aa846abe8363f79a97a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -168,11 +168,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1756542300, "lastModified": 1756787288,
"narHash": "sha256-tlOn88coG5fzdyqz6R93SQL5Gpq+m/DsWpekNFhqPQk=", "narHash": "sha256-rw/PHa1cqiePdBxhF66V7R+WAP8WekQ0mCDG4CFqT8Y=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d7600c775f877cd87b4f5a831c28aa94137377aa", "rev": "d0fc30899600b9b3466ddb260fd83deb486c32f1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -184,11 +184,11 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1756542300, "lastModified": 1756787288,
"narHash": "sha256-tlOn88coG5fzdyqz6R93SQL5Gpq+m/DsWpekNFhqPQk=", "narHash": "sha256-rw/PHa1cqiePdBxhF66V7R+WAP8WekQ0mCDG4CFqT8Y=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d7600c775f877cd87b4f5a831c28aa94137377aa", "rev": "d0fc30899600b9b3466ddb260fd83deb486c32f1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -204,11 +204,11 @@
"nixpkgs": "nixpkgs_3" "nixpkgs": "nixpkgs_3"
}, },
"locked": { "locked": {
"lastModified": 1756630008, "lastModified": 1757175473,
"narHash": "sha256-weZiVKbiWQzTifm6qCxzhxghEu5mbh9mWNUdkzOLCR0=", "narHash": "sha256-zi5d9XZMqZwsnEOFn2mgNQTAVp7oifTNtdqAzSsNZbc=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "f6a5a7b60dd6065e78ef06390767e689ffa3c23f", "rev": "56a58305f2668b2d5519f64eaac93e8d1cef1827",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -247,11 +247,11 @@
"xwayland-satellite-unstable": { "xwayland-satellite-unstable": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1756570086, "lastModified": 1757179758,
"narHash": "sha256-vnbIvAqSt+hSd6blDc9IMvZKxAcHpqLhy25tDvosrug=", "narHash": "sha256-TIvyWzRt1miQj6Cf5Wy8Qz43XIZX7c4vTVwRLAT5S4Y=",
"owner": "Supreeeme", "owner": "Supreeeme",
"repo": "xwayland-satellite", "repo": "xwayland-satellite",
"rev": "1d156aa8d30b124ff770488e5e34289a08ff4207", "rev": "970728d0d9d1eada342bb8860af214b601139e58",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -14,6 +14,7 @@ input {
// For example: // For example:
layout "ch" layout "ch"
options "compose:rctrl"
// options "grp:win_space_toggle,compose:ralt,ctrl:nocaps" // options "grp:win_space_toggle,compose:ralt,ctrl:nocaps"
} }
} }
@ -96,6 +97,10 @@ input {
position x=1280 y=0 position x=1280 y=0
} }
output "Samsung Electric Company LC27G7xT H1AK500000" {
// variable-refresh-rate
}
// Settings that influence how windows are positioned and sized. // Settings that influence how windows are positioned and sized.
// Find more information on the wiki: // Find more information on the wiki:
// https://github.com/YaLTeR/niri/wiki/Configuration:-Layout // https://github.com/YaLTeR/niri/wiki/Configuration:-Layout
@ -246,9 +251,7 @@ layout {
// Note that running niri as a session supports xdg-desktop-autostart, // Note that running niri as a session supports xdg-desktop-autostart,
// which may be more convenient to use. // which may be more convenient to use.
// See the binds section below for more spawn examples. // See the binds section below for more spawn examples.
spawn-at-startup "xwayland-satellite"
environment { environment {
DISPLAY ":0"
ELECTRON_OZONE_PLATFORM_HINT "auto" ELECTRON_OZONE_PLATFORM_HINT "auto"
} }
@ -257,7 +260,7 @@ environment {
// Additionally, clients will be informed that they are tiled, removing some client-side rounded corners. // Additionally, clients will be informed that they are tiled, removing some client-side rounded corners.
// This option will also fix border/focus ring drawing behind some semitransparent windows. // This option will also fix border/focus ring drawing behind some semitransparent windows.
// After enabling or disabling this, you need to restart the apps for this to take effect. // After enabling or disabling this, you need to restart the apps for this to take effect.
// prefer-no-csd prefer-no-csd
// You can change the path where screenshots are saved. // You can change the path where screenshots are saved.
// A ~ at the front will be expanded to the home directory. // A ~ at the front will be expanded to the home directory.
@ -320,6 +323,17 @@ window-rule {
clip-to-geometry true clip-to-geometry true
} }
window-rule {
match app-id="Spotify"
open-on-output "Samsung Electric Company SMS24A450/460 HVMBA01140"
}
window-rule {
match app-id="discord"
open-on-output "Lenovo Group Limited LEN G25-10 U4B30R14"
}
binds { binds {
// Keys consist of modifiers separated by + signs, followed by an XKB key name // Keys consist of modifiers separated by + signs, followed by an XKB key name
// in the end. To find an XKB name for a particular key, you may use a program // in the end. To find an XKB name for a particular key, you may use a program
@ -350,6 +364,9 @@ binds {
XF86AudioLowerVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1-"; } XF86AudioLowerVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1-"; }
XF86AudioMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"; } XF86AudioMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"; }
XF86AudioMicMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"; } XF86AudioMicMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"; }
XF86AudioPlay allow-when-locked=true { spawn "playerctl" "play-pause"; }
XF86AudioPrev allow-when-locked=true { spawn "playerctl" "previous"; }
XF86AudioNext allow-when-locked=true { spawn "playerctl" "next"; }
Mod+Q { close-window; } Mod+Q { close-window; }

View file

@ -50,8 +50,9 @@ in
obsidian obsidian
prismlauncher prismlauncher
spotify spotify
# rustup from nix for rust :) rustup # rustup from nix for rust :)
rustup gamescope # so i can put it in steam startup command lines
wl-clipboard
(pkgs.writeShellApplication { (pkgs.writeShellApplication {
name = "lock-and-power-off-screen"; name = "lock-and-power-off-screen";
text = '' text = ''

View file

@ -88,7 +88,7 @@
format = " {status}"; format = " {status}";
format-disabled = ""; # an empty format will hide the module format-disabled = ""; # an empty format will hide the module
format-connected = " {num_connections} connected"; format-connected = " {num_connections} connected";
on-click = lib.getExe pkgs.blueberry; on-click = lib.getExe' pkgs.blueberry "blueberry";
}; };
pulseaudio = { pulseaudio = {
# "scroll-step": 1, // %, can be a float # "scroll-step": 1, // %, can be a float

View file

@ -82,6 +82,7 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
tailscale tailscale
os-prober os-prober
usbutils # steam client logs complain about lsusb
]; ];
networking.firewall = { networking.firewall = {