Skip to content

Commit

Permalink
feat: switch to niri
Browse files Browse the repository at this point in the history
hyprland forever in my heart <33
  • Loading branch information
sioodmy committed Apr 30, 2024
1 parent 08a733d commit bc33e48
Show file tree
Hide file tree
Showing 21 changed files with 460 additions and 778 deletions.
477 changes: 126 additions & 351 deletions flake.lock

Large diffs are not rendered by default.

17 changes: 4 additions & 13 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,12 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixos-hardware.url = "github:nixos/nixos-hardware";
xdg-portal-hyprland.url = "github:hyprwm/xdg-desktop-portal-hyprland";
impermanence.url = "github:nix-community/impermanence";

niri = {
url ="github:YaLTeR/niri";
inputs.nixpkgs.follows = "nixpkgs";
};
nixpak = {
url = "github:nixpak/nixpak";
inputs.nixpkgs.follows = "nixpkgs";
Expand Down Expand Up @@ -162,10 +165,6 @@
inputs.home-manager.follows = "home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
hyprland = {
url = "github:hyprwm/Hyprland/";
inputs.nixpkgs.follows = "nixpkgs";
};
hyprlock = {
url = "github:hyprwm/hyprlock";
inputs.nixpkgs.follows = "nixpkgs";
Expand All @@ -174,14 +173,6 @@
url = "github:hyprwm/hypridle";
inputs.nixpkgs.follows = "nixpkgs";
};
hyprland-plugins = {
url = "github:hyprwm/hyprland-plugins";
inputs.hyprland.follows = "hyprland";
};
hyprcontrib = {
url = "github:hyprwm/contrib";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-index-db = {
url = "github:Mic92/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
Expand Down
2 changes: 1 addition & 1 deletion home/impermanence.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ in {
"vids"
"other"
]
++ forEach ["syncthing" "Caprine" "VencordDesktop" "obs-studio" "Signal"] (
++ forEach ["syncthing" "Caprine" "VencordDesktop" "obs-studio" "Signal" "niri"] (
x: ".config/${x}"
)
++ forEach ["tealdeer" "keepassxc" "nix" "starship" "nix-index" "mozilla" "go-build"] (
Expand Down
2 changes: 1 addition & 1 deletion home/misc/lock.nix
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ in {
];
};
services.hypridle = {
enable = true;
enable = false;
beforeSleepCmd = "${pkgs.systemd}/bin/loginctl lock-session";
lockCmd = lib.getExe config.programs.hyprlock.package;

Expand Down
1 change: 1 addition & 0 deletions home/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
nixpkgs.config.allowUnfree = false;
home.packages = with pkgs; [
libreoffice-fresh
fuzzel
prismlauncher
brave
inkscape
Expand Down
3 changes: 2 additions & 1 deletion home/rice/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
./foot.nix
./zathura.nix
./dunst.nix
./fuzzel.nix
./gtk.nix
./hyprland
./waybar
./niri
];
}
2 changes: 1 addition & 1 deletion home/rice/foot.nix
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
uri-characters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_.,~:;/?#@!$&%*+=\"'()[]";
};
colors = with theme.colors; {
alpha = "0.75";
alpha = "1.0";
foreground = text;
background = base;

Expand Down
25 changes: 25 additions & 0 deletions home/rice/fuzzel.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{ pkgs, theme, ...}:

{
programs.fuzzel = {
enable = true;
settings = {
main = {
terminal = "''${pkgs.foot}/bin/foot";
};
border = {
width = 3;
radius = 7;
};
colors = with theme.colors; {
background = "${base}ff";
selection-text = "${accent}ff";
selection-match = "${accent}ff";
selection = "${surface0}ff";
border = "${surface0}ff";
text = "${overlay1}ff";
match = "${text}ff";
};
};
};
}
86 changes: 0 additions & 86 deletions home/rice/hyprland/binds.nix

This file was deleted.

146 changes: 0 additions & 146 deletions home/rice/hyprland/config.nix

This file was deleted.

Loading

0 comments on commit bc33e48

Please sign in to comment.