summaryrefslogtreecommitdiff
path: root/modules/niri.nix
diff options
context:
space:
mode:
authorGrisha Shipunov2025-06-02 20:12:09 +0200
committerGrisha Shipunov2025-06-15 23:57:11 +0200
commitf191d9e4a9c84870e742317fadc2b7cc409b786f (patch)
tree3701555d7f6d9f1a0e614224ac1a70a620789ab6 /modules/niri.nix
parent7a417638735547276d49258577e1dbd00a50a91a (diff)
toaster: back to niri
Diffstat (limited to 'modules/niri.nix')
-rw-r--r--modules/niri.nix108
1 files changed, 43 insertions, 65 deletions
diff --git a/modules/niri.nix b/modules/niri.nix
index e769189..4af69ca 100644
--- a/modules/niri.nix
+++ b/modules/niri.nix
@@ -1,74 +1,52 @@
-# General Desktop-related config
-{ pkgs, inputs, ... }:
+{ pkgs, ... }:
{
- nixpkgs.overlays = [ inputs.niri.overlays.niri ];
-
programs.niri.enable = true;
imports = [
./desktop-software.nix
./fonts.nix
];
- environment.systemPackages =
- let
- xwayland-satellite-git = pkgs.xwayland-satellite.overrideAttrs (
- final: _prev: {
- version = "git";
- cargoHash = "sha256-MaF2FyR3HvQAKkZKa8OO/5jbO64/Ncv7+JqHda4jN50=";
- src = pkgs.fetchFromGitHub {
- owner = "Supreeeme";
- repo = "xwayland-satellite";
- rev = "cca74a5f6b23742d77dc5db4312dfc40fd4a0fcc";
- sha256 = "sha256-YZ+axsuNsgIKWfnRkt6Qa9UoKfUOIWf42vNUonXxmxM=";
- };
- cargoDeps = pkgs.rustPlatform.fetchCargoTarball {
- inherit (final) pname src version;
- hash = final.cargoHash;
- };
- }
- );
- in
- with pkgs;
- [
- screen-message
- qbittorrent
- gajim
- imv
- mpv
- evince
- brightnessctl
- pulsemixer
- cmus
- termusic
- gsettings-desktop-schemas
- xdg-utils
- qt5.qtwayland
- bashmount
- audacity
- spotify-player
- zathura
- ncdu
- adwaita-icon-theme
- bluetui
- gammastep
- graphicsmagick
- i3status-rust
- impala
- kanshi
- pamixer
- swayidle
- swaylock
- wl-clipboard
- xfce.thunar
- banana-cursor
- fuzzel
- alacritty
- i3bar-river
- mako
- swww
- oculante
- xwayland-satellite-git
- ];
+ environment.systemPackages = with pkgs; [
+ screen-message
+ qbittorrent
+ gajim
+ imv
+ mpv
+ evince
+ brightnessctl
+ pulsemixer
+ cmus
+ termusic
+ gsettings-desktop-schemas
+ xdg-utils
+ qt5.qtwayland
+ bashmount
+ audacity
+ spotify-player
+ zathura
+ ncdu
+ adwaita-icon-theme
+ bluetui
+ gammastep
+ graphicsmagick
+ i3status-rust
+ impala
+ kanshi
+ pamixer
+ swayidle
+ swaylock
+ wl-clipboard
+ xfce.thunar
+ banana-cursor
+ fuzzel
+ alacritty
+ i3bar-river
+ mako
+ swww
+ oculante
+ xwayland-satellite
+ foot
+ ];
# Enable sound.
security.rtkit.enable = true;
@@ -127,7 +105,7 @@
enable = true;
settings = {
default_session = {
- command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --greeting \"$(${pkgs.fortune}/bin/fortune -s)\" --cmd ${pkgs.niri-stable}/bin/niri-session";
+ command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --greeting \"$(${pkgs.fortune}/bin/fortune -s)\" --cmd ${pkgs.niri}/bin/niri-session";
};
};
};