Skip to content

Commit

Permalink
feat: I'm too fucking tired to write a propper commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
sioodmy committed May 2, 2024
1 parent d013752 commit 91dc8a7
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 60 deletions.
86 changes: 52 additions & 34 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 4 additions & 9 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,6 @@
};
};

sioodmy-dev = {
url = "github:sioodmy/sioodmy.github.io";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-parts.follows = "flake-parts";
};
};

# a tree-wide formatter
treefmt-nix = {
url = "github:numtide/treefmt-nix";
Expand Down Expand Up @@ -172,7 +164,10 @@
};
website = {
url = "github:sioodmy/website";
flake = false;
inputs = {
nixpkgs.follows = "nixpkgs";
flake-parts.follows = "flake-parts";
};
};
};
}
Expand Down
2 changes: 1 addition & 1 deletion home/cli/zsh/aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ with pkgs; {
gpl = "curl https://www.gnu.org/licenses/gpl-3.0.txt -o LICENSE";
agpl = "curl https://www.gnu.org/licenses/agpl-3.0.txt -o LICENSE";
webcam = "ffplay /dev/video0";
deploy = "nixos-rebuild --target-host root@192.168.21.69 --flake .#iapetus switch";
deploy = "nixos-rebuild --target-host root@37.27.26.214 --flake .#prometheus switch";
rebuild = "sudo nixos-rebuild switch --flake .#";
g = "git";
n = "nix";
Expand Down
2 changes: 1 addition & 1 deletion home/rice/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
./foot.nix
./zathura.nix
./dunst.nix
./fuzzel.nix
./gtk.nix
./waybar
./fuzzel
./niri
];
}
19 changes: 5 additions & 14 deletions home/rice/niri/config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,9 @@ with theme.colors; ''
// Suggested binds for running programs: terminal, app launcher, screen locker.
Mod+Return { spawn "foot"; }
Mod+Space { spawn "fuzzel"; }
Mod+Shift+Period { spawn "emoji"; }
Super+Shift+L { spawn "swaylock"; }
// You can also use a shell:
// Mod+T { spawn "bash" "-c" "notify-send hello && exec alacritty"; }
// Example volume keys mappings for PipeWire & WirePlumber.
// The allow-when-locked=true property makes them work even when the session is locked.
XF86AudioRaiseVolume allow-when-locked=true { spawn "pamixer" "-i" "5"; }
Expand All @@ -112,26 +110,19 @@ with theme.colors; ''
Mod+Up { focus-window-up; }
Mod+Right { focus-column-right; }
Mod+H { focus-column-left; }
Mod+J { focus-window-down; }
Mod+K { focus-window-up; }
Mod+J { focus-window-or-workspace-down; }
Mod+K { focus-window-or-workspace-up; }
Mod+L { focus-column-right; }
Mod+Ctrl+Left { move-column-left; }
Mod+Ctrl+Down { move-window-down; }
Mod+Ctrl+Up { move-window-up; }
Mod+Ctrl+Right { move-column-right; }
Mod+Ctrl+H { move-column-left; }
Mod+Ctrl+J { move-window-down; }
Mod+Ctrl+K { move-window-up; }
Mod+Ctrl+J { move-window-down-or-to-workspace-down; }
Mod+Ctrl+K { move-window-up-or-to-workspace-up; }
Mod+Ctrl+L { move-column-right; }
// Alternative commands that move across workspaces when reaching
// the first or last window in a column.
// Mod+J { focus-window-or-workspace-down; }
// Mod+K { focus-window-or-workspace-up; }
// Mod+Ctrl+J { move-window-down-or-to-workspace-down; }
// Mod+Ctrl+K { move-window-up-or-to-workspace-up; }
Mod+Home { focus-column-first; }
Mod+End { focus-column-last; }
Mod+Ctrl+Home { move-column-to-first; }
Expand Down
2 changes: 1 addition & 1 deletion system/server/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

virtualHosts = {
"sioodmy.dev" = {
root = inputs.website;
root = inputs.website.packages.${pkgs.system}.website;
enableACME = true;
locations."/" = {
tryFiles = "$uri $uri.html $uri/ =404";
Expand Down

1 comment on commit 91dc8a7

@kittyandrew
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my condolences

Please sign in to comment.