mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-24 13:45:29 -08:00
Compare commits
9 commits
055452b2ba
...
e99e9aa10c
Author | SHA1 | Date | |
---|---|---|---|
e99e9aa10c | |||
114bf13d63 | |||
dcd1a54ff5 | |||
0fffa3570c | |||
9646f4d1af | |||
8f83d046bf | |||
bc4efd65f8 | |||
244f4d512d | |||
05cb82ce22 |
8 changed files with 35 additions and 32 deletions
32
flake.lock
32
flake.lock
|
@ -29,11 +29,11 @@
|
||||||
"rust-overlay": "rust-overlay"
|
"rust-overlay": "rust-overlay"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1699736820,
|
"lastModified": 1700189820,
|
||||||
"narHash": "sha256-Al/D/O0E9grthAUqKkrbyKcmEWm+i7n2T2jop8yDuYo=",
|
"narHash": "sha256-6f6dIPqahB/8BdPuBt6V5X80XJCoCl2cQTox8y2TOPs=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "80fb98c7ac24a8a0ce5543fe2d90a7b1e4000dc8",
|
"rev": "9662ecef5a271e2c6fbbd999f210abe6a0f008ea",
|
||||||
"revCount": 19,
|
"revCount": 24,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.nickiel.net/Nickiel/Ewwtilities.git"
|
"url": "https://git.nickiel.net/Nickiel/Ewwtilities.git"
|
||||||
},
|
},
|
||||||
|
@ -159,11 +159,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1699783872,
|
"lastModified": 1700118404,
|
||||||
"narHash": "sha256-4zTwLT2LL45Nmo6iwKB3ls3hWodVP9DiSWxki/oewWE=",
|
"narHash": "sha256-XkqpZpVoy1FV7UbiLkP+fQxxv/6KnwLYkFEHgE8z2IQ=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "280721186ab75a76537713ec310306f0eba3e407",
|
"rev": "c1a033122df8a3c74fda3780c83a104a7d60873c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -229,11 +229,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-stable": {
|
"nixpkgs-stable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1699994397,
|
"lastModified": 1700144580,
|
||||||
"narHash": "sha256-xxNeIcMNMXH2EA9IAX6Cny+50mvY22LhIBiGZV363gc=",
|
"narHash": "sha256-JSH+kxJ40pgyuVy7r/HF9IDFxAcuzwJBHZJH4g9+3vA=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "d4b5a67bbe9ef750bd2fdffd4cad400dd5553af8",
|
"rev": "d7afe436f89670fb74eb0dcff2496f0ec530be48",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -325,11 +325,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_6": {
|
"nixpkgs_6": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1699781429,
|
"lastModified": 1699963925,
|
||||||
"narHash": "sha256-UYefjidASiLORAjIvVsUHG6WBtRhM67kTjEY4XfZOFs=",
|
"narHash": "sha256-LE7OV/SwkIBsCpAlIPiFhch/J+jBDGEZjNfdnzCnCrY=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "e44462d6021bfe23dfb24b775cc7c390844f773d",
|
"rev": "bf744fe90419885eefced41b3e5ae442d732712d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -363,11 +363,11 @@
|
||||||
"pre-commit-hooks": "pre-commit-hooks"
|
"pre-commit-hooks": "pre-commit-hooks"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1700000610,
|
"lastModified": 1700173604,
|
||||||
"narHash": "sha256-xvP14ulDdfx1MeBzIWreID3F3j0G4leAAeTC5yfE1h0=",
|
"narHash": "sha256-pAXDI+9w64j2SSBMnCwodN8KZs9GstvYzUUNxbzhHfI=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nixvim",
|
"repo": "nixvim",
|
||||||
"rev": "2fcbe50f4ba80e868bd55c7f3b40e2a55c8092d0",
|
"rev": "a304b68a882357a55c4d76eb6db299e4d11780c5",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -22,6 +22,8 @@
|
||||||
"OC\\Preview\\JPEG"
|
"OC\\Preview\\JPEG"
|
||||||
"OC\\Preview\\JPG"
|
"OC\\Preview\\JPG"
|
||||||
"OC\\Preview\\PNG"
|
"OC\\Preview\\PNG"
|
||||||
|
"OC\\Preview\\MP4"
|
||||||
|
"OC\\Preview\\MOVIE"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ in
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
alsa-utils
|
alsa-utils
|
||||||
gcal
|
gcal
|
||||||
jq
|
jaq
|
||||||
playerctl
|
playerctl
|
||||||
pw-volume
|
pw-volume
|
||||||
socat
|
socat
|
||||||
|
|
|
@ -152,7 +152,7 @@
|
||||||
{music != "" ? "🎵${music}" : ""}))
|
{music != "" ? "🎵${music}" : ""}))
|
||||||
|
|
||||||
(defpoll volume :interval "1s"
|
(defpoll volume :interval "1s"
|
||||||
{"pw-volume status | jq '.percentage // -1'" ?: 500})
|
{"pw-volume status | jaq '.percentage // -1'" ?: 500})
|
||||||
|
|
||||||
(include "windows.yuck")
|
(include "windows.yuck")
|
||||||
(include "./modules/center-clock.yuck")
|
(include "./modules/center-clock.yuck")
|
||||||
|
|
|
@ -9,22 +9,21 @@ in
|
||||||
wayland.windowManager.hyprland.settings = {
|
wayland.windowManager.hyprland.settings = {
|
||||||
|
|
||||||
windowrulev2 = [
|
windowrulev2 = [
|
||||||
"float,class:^(kitty)$,title:^switch-to-windows-elevation"
|
# "float,class:^(kitty)$,title:^switch-to-windows-elevation"
|
||||||
# "center,class:^(kitty)$,title:^switch-to-windows-elevation"
|
# "center,class:^(kitty)$,title:^switch-to-windows-elevation"
|
||||||
# "size 40% 40%,class:^(kitty)$,title:^switch-to-windows-elevation"
|
# "size 40% 40%,class:^(kitty)$,title:^switch-to-windows-elevation"
|
||||||
];
|
];
|
||||||
|
|
||||||
workspace = if (hostname == "NicksNixDesktop") then [
|
workspace = if (hostname == "NicksNixDesktop") then [
|
||||||
"1,monitor:DP-3,default:true"
|
"2,monitor:DP-3,default:true"
|
||||||
"3,monitor:DP-3"
|
"4,monitor:DP-3"
|
||||||
"5,monitor:DP-3"
|
"6,monitor:DP-3"
|
||||||
"7,monitor:DP-3"
|
"8,monitor:DP-3"
|
||||||
"9,monitor:DP-3"
|
|
||||||
|
|
||||||
"2,monitor:DP-2,default:true"
|
"1,monitor:DP-2,default:true"
|
||||||
"4,monitor:DP-2"
|
"3,monitor:DP-2"
|
||||||
"6,monitor:DP-2"
|
"5,monitor:DP-2"
|
||||||
"8,monitor:DP-2"
|
"7,monitor:DP-2"
|
||||||
] else [
|
] else [
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
|
@ -23,8 +23,8 @@ in
|
||||||
# binde, will repeat when held
|
# binde, will repeat when held
|
||||||
#https://wiki.hyprland.org/Configuring/Binds/#bind-flags
|
#https://wiki.hyprland.org/Configuring/Binds/#bind-flags
|
||||||
binde = [
|
binde = [
|
||||||
",XF86AudioRaiseVolume, exec, pw-volume change +1%; ${pkgs.eww}/bin/eww update volume=$(pw-volume status | jq '.percentage // 10')"
|
",XF86AudioRaiseVolume, exec, pw-volume change +1%; ${pkgs.eww}/bin/eww update volume=$(pw-volume status | jaq '.percentage // 10')"
|
||||||
",XF86AudioLowerVolume, exec, pw-volume change -1%; ${pkgs.eww}/bin/eww update volume=$(pw-volume status | jq '.percentage // 10')"
|
",XF86AudioLowerVolume, exec, pw-volume change -1%; ${pkgs.eww}/bin/eww update volume=$(pw-volume status | jaq '.percentage // 10')"
|
||||||
];
|
];
|
||||||
|
|
||||||
# listen even when locked
|
# listen even when locked
|
||||||
|
@ -51,7 +51,7 @@ in
|
||||||
] ++
|
] ++
|
||||||
# Change workspace
|
# Change workspace
|
||||||
(map (n:
|
(map (n:
|
||||||
"$mod,${n},workspace,name:${n}"
|
"$mod,${n}, exec, ewwtilities workspace-selector ${n}"
|
||||||
) workspaces) ++
|
) workspaces) ++
|
||||||
# Move window to workspace
|
# Move window to workspace
|
||||||
(map (n:
|
(map (n:
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
let
|
let
|
||||||
monitor_config = if (hostname == "NicksNixDesktop") then
|
monitor_config = if (hostname == "NicksNixDesktop") then
|
||||||
''
|
''
|
||||||
monitor=DP-4, 2560x1440@144, 1920x0, 1
|
monitor=DP-3, 2560x1440@144, 1920x0, 1
|
||||||
monitor=DP-2, 1920x1080@60, 0x360,1
|
monitor=DP-2, 1920x1080@60, 0x360,1
|
||||||
|
|
||||||
env = LIBVA_DRIVER_NAME,nvidia
|
env = LIBVA_DRIVER_NAME,nvidia
|
||||||
|
|
|
@ -42,11 +42,13 @@ in
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
cat = "bat";
|
cat = "bat";
|
||||||
ls = "eza";
|
ls = "eza";
|
||||||
|
jq = "jaq";
|
||||||
gust = "/home/nixolas/Documents/Gust/target/debug/gust";
|
gust = "/home/nixolas/Documents/Gust/target/debug/gust";
|
||||||
rm = "rmtrash";
|
rm = "rmtrash";
|
||||||
open-config = "cd ~/Documents/nicks-nix-config; nvim";
|
open-config = "cd ~/Documents/nicks-nix-config; nvim";
|
||||||
switch-to-windows = "sudo grub-reboot 1; sudo reboot";
|
switch-to-windows = "sudo grub-reboot 1; sudo reboot";
|
||||||
screenshot = "grim -g \"$(slurp -d)\" - | wl-copy -t image/png";
|
screenshot = "grim -g \"$(slurp -d)\" - | wl-copy -t image/png";
|
||||||
|
move-to-alaska = "ssh nixolas@100.64.0.1";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue