Compare commits

..

6 commits

9 changed files with 32 additions and 20 deletions

View file

@ -1,4 +1,8 @@
# NixOS Flake-based Configuration # NixOS Flake-based Configuration
This is my repository for my NixOS configurations for each of my devices, most of which share the majority of their code.
## Screenshot (Laptop)
![screenshot](/assets/screenshot.png) ![screenshot](/assets/screenshot.png)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

After

Width:  |  Height:  |  Size: 2.3 MiB

View file

@ -46,7 +46,7 @@ in
services.pipewire.pulse.enable = true; services.pipewire.pulse.enable = true;
services.pipewire.wireplumber.enable = true; services.pipewire.wireplumber.enable = true;
hardware.opengl.enable = true; hardware.graphics.enable = true;
users.mutableUsers = false; users.mutableUsers = false;
users.users.${username} = { users.users.${username} = {

View file

@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1715380449, "lastModified": 1722630065,
"narHash": "sha256-716+f9Rj3wjSyD1xitCv2FcYbgPz1WIVDj+ZBclH99Y=", "narHash": "sha256-QfM/9BMRkCmgWzrPDK+KbgJOUlSJnfX4OvsUupEUZvA=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "d7682620185f213df384c363288093b486b2883f", "rev": "afc892db74d65042031a093adb6010c4c3378422",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -24,26 +24,26 @@
"mobile-nixos": { "mobile-nixos": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1684178022, "lastModified": 1722056346,
"narHash": "sha256-oOg6oQHcKWZl34WMdKFXTJbOEdzPEqRcwE4ts/ofngY=", "narHash": "sha256-50fcuCppaLMfSOTFO4IkCBs4folToCwlhTgc6IdZFHg=",
"owner": "kiana-S", "owner": "mobile-nixos",
"repo": "mobile-nixos", "repo": "mobile-nixos",
"rev": "1b0cfe3c6104acd8f2652dc5feaa6863f8b90553", "rev": "717ce90cfadffa449480bae2e155185c651e9993",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "kiana-S", "owner": "mobile-nixos",
"repo": "mobile-nixos", "repo": "mobile-nixos",
"type": "github" "type": "github"
} }
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1715148395, "lastModified": 1722332872,
"narHash": "sha256-lRxjTxY3103LGMjWdVqntKZHhlmMX12QUjeFrQMmGaE=", "narHash": "sha256-2xLM4sc5QBfi0U/AANJAW21Bj4ZX479MHPMPkB+eKBU=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "a4e2b7909fc1bdf30c30ef21d388fde0b5cdde4a", "rev": "14c333162ba53c02853add87a0000cbd7aa230c2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -54,11 +54,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1715266358, "lastModified": 1722421184,
"narHash": "sha256-doPgfj+7FFe9rfzWo1siAV2mVCasW+Bh8I1cToAXEE4=", "narHash": "sha256-/DJBI6trCeVnasdjUo9pbnodCLZcFqnVZiLUfqLH4jA=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "f1010e0469db743d14519a1efd37e23f8513d714", "rev": "9f918d616c5321ad374ae6cb5ea89c9e04bf3e58",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -4,7 +4,7 @@ inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixos-hardware.url = "github:NixOS/nixos-hardware"; nixos-hardware.url = "github:NixOS/nixos-hardware";
mobile-nixos.url = "github:kiana-S/mobile-nixos"; mobile-nixos.url = "github:mobile-nixos/mobile-nixos";
mobile-nixos.flake = false; mobile-nixos.flake = false;
sxmo.url = "github:wentam/sxmo-nix"; sxmo.url = "github:wentam/sxmo-nix";

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
hyprctl activewindow -j | jaq -c . hyprctl activewindow -j | jaq -c .
socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | socat -u UNIX-CONNECT:$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - |
stdbuf -o0 grep -ose '^activewindow>>' | while read -r line; do stdbuf -o0 grep -ose '^activewindow>>' | while read -r line; do
hyprctl activewindow -j | jaq -c . hyprctl activewindow -j | jaq -c .
done done

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash #!/usr/bin/env bash
hyprctl monitors -j | jaq '.[] | select(.focused) | .activeWorkspace.id' hyprctl monitors -j | jaq '.[] | select(.focused) | .activeWorkspace.id'
socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | socat -u UNIX-CONNECT:$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - |
stdbuf -o0 awk -F '>>|,' -e '/^workspace>>/ {print $2}' -e '/^focusedmon>>/ {print $3}' stdbuf -o0 awk -F '>>|,' -e '/^workspace>>/ {print $2}' -e '/^focusedmon>>/ {print $3}'

View file

@ -7,6 +7,6 @@ workspaces() {
} }
workspaces workspaces
socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | while read -r line; do socat -u UNIX-CONNECT:$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | while read -r line; do
workspaces workspaces
done done

View file

@ -39,13 +39,21 @@ in {
gaps_in = 8; gaps_in = 8;
gaps_out = 8; gaps_out = 8;
cursor_inactive_timeout = 5;
resize_on_border = true; resize_on_border = true;
"col.inactive_border" = "rgb(474f6f)"; "col.inactive_border" = "rgb(474f6f)";
"col.active_border" = "rgb(b4f9f8)"; "col.active_border" = "rgb(b4f9f8)";
}; };
windowrulev2 = [
"bordercolor rgb(f7768e),fullscreen:1"
];
cursor = {
inactive_timeout = 5;
hide_on_key_press = true;
};
plugin.hy3 = { plugin.hy3 = {
tab_first_window = false; tab_first_window = false;