Compare commits
6 commits
2c1db60481
...
e4ec3df115
Author | SHA1 | Date | |
---|---|---|---|
Kiana Sheibani | e4ec3df115 | ||
Kiana Sheibani | d6317901a2 | ||
Kiana Sheibani | 60848e8264 | ||
Kiana Sheibani | d44facece9 | ||
Kiana Sheibani | b53b88577c | ||
Kiana Sheibani | 8efbae4907 |
|
@ -1,4 +1,8 @@
|
|||
# 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)
|
||||
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 2.3 MiB |
|
@ -46,7 +46,7 @@ in
|
|||
services.pipewire.pulse.enable = true;
|
||||
services.pipewire.wireplumber.enable = true;
|
||||
|
||||
hardware.opengl.enable = true;
|
||||
hardware.graphics.enable = true;
|
||||
|
||||
users.mutableUsers = false;
|
||||
users.users.${username} = {
|
||||
|
|
28
flake.lock
28
flake.lock
|
@ -7,11 +7,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1715380449,
|
||||
"narHash": "sha256-716+f9Rj3wjSyD1xitCv2FcYbgPz1WIVDj+ZBclH99Y=",
|
||||
"lastModified": 1722630065,
|
||||
"narHash": "sha256-QfM/9BMRkCmgWzrPDK+KbgJOUlSJnfX4OvsUupEUZvA=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "d7682620185f213df384c363288093b486b2883f",
|
||||
"rev": "afc892db74d65042031a093adb6010c4c3378422",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -24,26 +24,26 @@
|
|||
"mobile-nixos": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1684178022,
|
||||
"narHash": "sha256-oOg6oQHcKWZl34WMdKFXTJbOEdzPEqRcwE4ts/ofngY=",
|
||||
"owner": "kiana-S",
|
||||
"lastModified": 1722056346,
|
||||
"narHash": "sha256-50fcuCppaLMfSOTFO4IkCBs4folToCwlhTgc6IdZFHg=",
|
||||
"owner": "mobile-nixos",
|
||||
"repo": "mobile-nixos",
|
||||
"rev": "1b0cfe3c6104acd8f2652dc5feaa6863f8b90553",
|
||||
"rev": "717ce90cfadffa449480bae2e155185c651e9993",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "kiana-S",
|
||||
"owner": "mobile-nixos",
|
||||
"repo": "mobile-nixos",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixos-hardware": {
|
||||
"locked": {
|
||||
"lastModified": 1715148395,
|
||||
"narHash": "sha256-lRxjTxY3103LGMjWdVqntKZHhlmMX12QUjeFrQMmGaE=",
|
||||
"lastModified": 1722332872,
|
||||
"narHash": "sha256-2xLM4sc5QBfi0U/AANJAW21Bj4ZX479MHPMPkB+eKBU=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixos-hardware",
|
||||
"rev": "a4e2b7909fc1bdf30c30ef21d388fde0b5cdde4a",
|
||||
"rev": "14c333162ba53c02853add87a0000cbd7aa230c2",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -54,11 +54,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1715266358,
|
||||
"narHash": "sha256-doPgfj+7FFe9rfzWo1siAV2mVCasW+Bh8I1cToAXEE4=",
|
||||
"lastModified": 1722421184,
|
||||
"narHash": "sha256-/DJBI6trCeVnasdjUo9pbnodCLZcFqnVZiLUfqLH4jA=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "f1010e0469db743d14519a1efd37e23f8513d714",
|
||||
"rev": "9f918d616c5321ad374ae6cb5ea89c9e04bf3e58",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -4,7 +4,7 @@ inputs = {
|
|||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
|
||||
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;
|
||||
|
||||
sxmo.url = "github:wentam/sxmo-nix";
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
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
|
||||
hyprctl activewindow -j | jaq -c .
|
||||
done
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
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}'
|
||||
|
|
|
@ -7,6 +7,6 @@ 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
|
||||
done
|
||||
|
|
|
@ -39,13 +39,21 @@ in {
|
|||
gaps_in = 8;
|
||||
gaps_out = 8;
|
||||
|
||||
cursor_inactive_timeout = 5;
|
||||
resize_on_border = true;
|
||||
|
||||
"col.inactive_border" = "rgb(474f6f)";
|
||||
"col.active_border" = "rgb(b4f9f8)";
|
||||
};
|
||||
|
||||
windowrulev2 = [
|
||||
"bordercolor rgb(f7768e),fullscreen:1"
|
||||
];
|
||||
|
||||
cursor = {
|
||||
inactive_timeout = 5;
|
||||
hide_on_key_press = true;
|
||||
};
|
||||
|
||||
plugin.hy3 = {
|
||||
tab_first_window = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue