mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-24 13:45:29 -08:00
Compare commits
No commits in common. "e99e9aa10c661600594cc1dc75b5901fd212505b" and "055452b2ba6845b4205a99064e69db1d06a90014" have entirely different histories.
e99e9aa10c
...
055452b2ba
8 changed files with 32 additions and 35 deletions
32
flake.lock
32
flake.lock
|
@ -29,11 +29,11 @@
|
||||||
"rust-overlay": "rust-overlay"
|
"rust-overlay": "rust-overlay"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1700189820,
|
"lastModified": 1699736820,
|
||||||
"narHash": "sha256-6f6dIPqahB/8BdPuBt6V5X80XJCoCl2cQTox8y2TOPs=",
|
"narHash": "sha256-Al/D/O0E9grthAUqKkrbyKcmEWm+i7n2T2jop8yDuYo=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "9662ecef5a271e2c6fbbd999f210abe6a0f008ea",
|
"rev": "80fb98c7ac24a8a0ce5543fe2d90a7b1e4000dc8",
|
||||||
"revCount": 24,
|
"revCount": 19,
|
||||||
"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": 1700118404,
|
"lastModified": 1699783872,
|
||||||
"narHash": "sha256-XkqpZpVoy1FV7UbiLkP+fQxxv/6KnwLYkFEHgE8z2IQ=",
|
"narHash": "sha256-4zTwLT2LL45Nmo6iwKB3ls3hWodVP9DiSWxki/oewWE=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "c1a033122df8a3c74fda3780c83a104a7d60873c",
|
"rev": "280721186ab75a76537713ec310306f0eba3e407",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -229,11 +229,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-stable": {
|
"nixpkgs-stable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1700144580,
|
"lastModified": 1699994397,
|
||||||
"narHash": "sha256-JSH+kxJ40pgyuVy7r/HF9IDFxAcuzwJBHZJH4g9+3vA=",
|
"narHash": "sha256-xxNeIcMNMXH2EA9IAX6Cny+50mvY22LhIBiGZV363gc=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "d7afe436f89670fb74eb0dcff2496f0ec530be48",
|
"rev": "d4b5a67bbe9ef750bd2fdffd4cad400dd5553af8",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -325,11 +325,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_6": {
|
"nixpkgs_6": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1699963925,
|
"lastModified": 1699781429,
|
||||||
"narHash": "sha256-LE7OV/SwkIBsCpAlIPiFhch/J+jBDGEZjNfdnzCnCrY=",
|
"narHash": "sha256-UYefjidASiLORAjIvVsUHG6WBtRhM67kTjEY4XfZOFs=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "bf744fe90419885eefced41b3e5ae442d732712d",
|
"rev": "e44462d6021bfe23dfb24b775cc7c390844f773d",
|
||||||
"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": 1700173604,
|
"lastModified": 1700000610,
|
||||||
"narHash": "sha256-pAXDI+9w64j2SSBMnCwodN8KZs9GstvYzUUNxbzhHfI=",
|
"narHash": "sha256-xvP14ulDdfx1MeBzIWreID3F3j0G4leAAeTC5yfE1h0=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nixvim",
|
"repo": "nixvim",
|
||||||
"rev": "a304b68a882357a55c4d76eb6db299e4d11780c5",
|
"rev": "2fcbe50f4ba80e868bd55c7f3b40e2a55c8092d0",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -22,8 +22,6 @@
|
||||||
"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
|
||||||
jaq
|
jq
|
||||||
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 | jaq '.percentage // -1'" ?: 500})
|
{"pw-volume status | jq '.percentage // -1'" ?: 500})
|
||||||
|
|
||||||
(include "windows.yuck")
|
(include "windows.yuck")
|
||||||
(include "./modules/center-clock.yuck")
|
(include "./modules/center-clock.yuck")
|
||||||
|
|
|
@ -9,21 +9,22 @@ 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 [
|
||||||
"2,monitor:DP-3,default:true"
|
"1,monitor:DP-3,default:true"
|
||||||
"4,monitor:DP-3"
|
"3,monitor:DP-3"
|
||||||
"6,monitor:DP-3"
|
"5,monitor:DP-3"
|
||||||
"8,monitor:DP-3"
|
"7,monitor:DP-3"
|
||||||
|
"9,monitor:DP-3"
|
||||||
|
|
||||||
"1,monitor:DP-2,default:true"
|
"2,monitor:DP-2,default:true"
|
||||||
"3,monitor:DP-2"
|
"4,monitor:DP-2"
|
||||||
"5,monitor:DP-2"
|
"6,monitor:DP-2"
|
||||||
"7,monitor:DP-2"
|
"8,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 | jaq '.percentage // 10')"
|
",XF86AudioRaiseVolume, 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')"
|
",XF86AudioLowerVolume, exec, pw-volume change -1%; ${pkgs.eww}/bin/eww update volume=$(pw-volume status | jq '.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}, exec, ewwtilities workspace-selector ${n}"
|
"$mod,${n},workspace,name:${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-3, 2560x1440@144, 1920x0, 1
|
monitor=DP-4, 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,13 +42,11 @@ 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