Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 90202ea147 |
@@ -22,7 +22,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { nixpkgs, home-manager, hyprland, ... } @inputs:
|
outputs = { nixpkgs, home-manager, hyprland, hy3, ... }:
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
# Optionally use extraSpecialArgs
|
# Optionally use extraSpecialArgs
|
||||||
# to pass through arguments to home.nix
|
# to pass through arguments to home.nix
|
||||||
extraSpecialArgs = { inherit inputs; };
|
extraSpecialArgs = { inherit hy3; inherit hyprland; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
with import <nixpkgs> {};
|
with import <nixpkgs> {};
|
||||||
let
|
let
|
||||||
nextcloudTalkDesktop = pkgs.callPackage ./modules/applications/nextcloud-talk-desktop/package.nix {};
|
nextcloudTalkDesktop = pkgs.callPackage ./modules/applications/nextcloud-talk-desktop/package.nix {};
|
||||||
|
dodo = pkgs.callPackage ./modules/applications/networking/mailreaders/dodo/default.nix {};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# Home Manager needs a bit of information about you and the paths it should
|
# Home Manager needs a bit of information about you and the paths it should
|
||||||
@@ -51,18 +52,17 @@ in
|
|||||||
pkgs.killall
|
pkgs.killall
|
||||||
pkgs.kitty
|
pkgs.kitty
|
||||||
pkgs.less
|
pkgs.less
|
||||||
pkgs.moonlight-qt
|
|
||||||
pkgs.ncdu
|
pkgs.ncdu
|
||||||
pkgs.pandoc
|
pkgs.pandoc
|
||||||
pkgs.pinentry-qt
|
pkgs.pinentry-qt
|
||||||
#pkgs.pytest
|
#pkgs.pytest
|
||||||
pkgs.shellcheck
|
pkgs.shellcheck
|
||||||
pkgs.solaar # Logitech management software
|
|
||||||
pkgs.tmux
|
pkgs.tmux
|
||||||
pkgs.waybar
|
pkgs.waybar
|
||||||
pkgs.wofi
|
pkgs.wofi
|
||||||
pkgs.vlc
|
pkgs.vlc
|
||||||
|
|
||||||
|
dodo
|
||||||
nextcloudTalkDesktop
|
nextcloudTalkDesktop
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -110,7 +110,6 @@ in
|
|||||||
./modules/applications/emacs/default.nix
|
./modules/applications/emacs/default.nix
|
||||||
./modules/games/lutris/default.nix
|
./modules/games/lutris/default.nix
|
||||||
./modules/window_managers/hyprland/default.nix
|
./modules/window_managers/hyprland/default.nix
|
||||||
./modules/window_managers/i3/default.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.bash.enable = true;
|
programs.bash.enable = true;
|
||||||
@@ -188,7 +187,6 @@ in
|
|||||||
services.kdeconnect = {
|
services.kdeconnect = {
|
||||||
enable = true;
|
enable = true;
|
||||||
indicator = true;
|
indicator = true;
|
||||||
package = pkgs.kdePackages.kdeconnect-kde;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services.spotifyd = {
|
services.spotifyd = {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
emacs = pkgs.emacs29;
|
emacs = pkgs.emacs29-pgtk;
|
||||||
doomSync = (let
|
doomSync = (let
|
||||||
git = pkgs.git;
|
git = pkgs.git;
|
||||||
in ''
|
in ''
|
||||||
|
|||||||
41
modules/applications/networking/mailreaders/dodo/default.nix
Normal file
41
modules/applications/networking/mailreaders/dodo/default.nix
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
{ pkgs
|
||||||
|
, lib
|
||||||
|
, python3
|
||||||
|
, makeWrapper
|
||||||
|
, notmuch
|
||||||
|
, w3m
|
||||||
|
}:
|
||||||
|
|
||||||
|
python3.pkgs.buildPythonApplication rec {
|
||||||
|
pname = "dodo";
|
||||||
|
version = "unstable-2024-07-04";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
repo = pname;
|
||||||
|
owner = "akissinger";
|
||||||
|
rev = "503763c4d738af79ee0d761c47920e9a7b61855a";
|
||||||
|
sha256 = "sha256-Am1sFMRDlSNmVSQyuHtQj9weB90AT4d1dhnhsUlA6Zs=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = with python3.pkgs; [ setuptools-scm makeWrapper ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
|
bleach
|
||||||
|
pyqt6
|
||||||
|
pyqt6-sip
|
||||||
|
pyqt6-webengine
|
||||||
|
];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram $out/bin/dodo --prefix PATH ":" \
|
||||||
|
${lib.makeBinPath [ notmuch w3m ]}
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A graphical, hackable email client based on notmuch";
|
||||||
|
homepage = "https://github.com/akissinger/dodo";
|
||||||
|
license = licenses.gpl3Only;
|
||||||
|
maintainers = with maintainers; [ matthiasbeyer ];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
{ inputs, ... }:
|
{ hyprland, hy3, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
@@ -7,7 +7,8 @@
|
|||||||
|
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
plugins = [ inputs.hy3.packages.x86_64-linux.hy3 ];
|
package = hyprland.packages.x86_64-linux.hyprland;
|
||||||
|
plugins = [ hy3.packages.x86_64-linux.hy3 ];
|
||||||
settings = {
|
settings = {
|
||||||
"$mod" = "SUPER";
|
"$mod" = "SUPER";
|
||||||
"$terminal" = "kitty";
|
"$terminal" = "kitty";
|
||||||
@@ -19,6 +20,11 @@
|
|||||||
"dunst"
|
"dunst"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
env = [
|
||||||
|
"XCURSOR_SIZE,24"
|
||||||
|
"HYPRCURSOR_SIZE,24"
|
||||||
|
];
|
||||||
|
|
||||||
xwayland = {
|
xwayland = {
|
||||||
force_zero_scaling = true;
|
force_zero_scaling = true;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,16 +1,5 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
wayland.windowManager.hyprland.settings.monitor = "DP-1,3440x1440@164.90,0x0,1.33333,vrr,1";
|
wayland.windowManager.hyprland.settings.monitor = "DP-1,3440x1440@164.90,0x0,1.33333,vrr,1,bitdepth,10";
|
||||||
wayland.windowManager.hyprland.settings.env = [
|
|
||||||
"LIBVA_DRIVER_NAME,nvidia"
|
|
||||||
"XDG_SESSION_TYPE,wayland"
|
|
||||||
"GBM_BACKEND,nvidia-drm"
|
|
||||||
"__GLX_VENDOR_LIBRARY_NAME,nvidia"
|
|
||||||
"NVD_BACKEND,direct"
|
|
||||||
"ELECTRON_OZONE_PLATFORM_HINT,auto"
|
|
||||||
"NIXOS_OZONE_WL,1"
|
|
||||||
];
|
|
||||||
|
|
||||||
wayland.windowManager.hyprland.settings.cursor.no_hardware_cursors = true;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
xsession.windowManager.i3 = {
|
|
||||||
enable = true;
|
|
||||||
config = {
|
|
||||||
modifier = "Mod4";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user