flameshot fix and remove vivaldi overlay
This commit is contained in:
parent
bfb6a8aef6
commit
ff63e8b393
6 changed files with 32 additions and 4 deletions
|
@ -40,7 +40,6 @@ with config;
|
||||||
packages = with pkgs;
|
packages = with pkgs;
|
||||||
[
|
[
|
||||||
#apps
|
#apps
|
||||||
(unstable.flameshot.override { enableWlrSupport = true; })
|
|
||||||
obsidian
|
obsidian
|
||||||
parsec-bin
|
parsec-bin
|
||||||
solaar # open source manager for logitech unifying receivers
|
solaar # open source manager for logitech unifying receivers
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
networking.hostName = "telchar";
|
networking.hostName = "telchar";
|
||||||
boot = {
|
boot = {
|
||||||
initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usbhid" "usb_storage" "sd_mod" ];
|
initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usbhid" "usb_storage" "sd_mod" ];
|
||||||
initrd.kernelModules = [ ];
|
initrd.kernelModules = [ "amdgpu" ];
|
||||||
kernelModules = [ "kvm-amd" ];
|
kernelModules = [ "kvm-amd" ];
|
||||||
extraModulePackages = [ ];
|
extraModulePackages = [ ];
|
||||||
};
|
};
|
||||||
|
@ -62,7 +62,8 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
security._1password.enable = true;
|
|
||||||
framework_wifi_swap.enable = true;
|
framework_wifi_swap.enable = true;
|
||||||
|
programs.flameshot.enable = true;
|
||||||
|
security._1password.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
./flameshot
|
||||||
./shell
|
./shell
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
5
nixos/modules/nixos/programs/flameshot/default.nix
Normal file
5
nixos/modules/nixos/programs/flameshot/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./flameshot.nix
|
||||||
|
];
|
||||||
|
}
|
22
nixos/modules/nixos/programs/flameshot/flameshot.nix
Normal file
22
nixos/modules/nixos/programs/flameshot/flameshot.nix
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
let
|
||||||
|
cfg = config.mySystem.programs.flameshot;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.mySystem.programs.flameshot = {
|
||||||
|
enable = lib.mkEnableOption "flameshot";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
environment.sessionVariables = {
|
||||||
|
XDG_SESSION_TYPE = "wayland";
|
||||||
|
QT_QPA_PLATFORM = "wayland";
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
(unstable.flameshot.override { enableWlrSupport = true; })
|
||||||
|
xdg-desktop-portal
|
||||||
|
xdg-desktop-portal-gnome
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
|
@ -27,7 +27,7 @@ in
|
||||||
nur = inputs.nur.overlay;
|
nur = inputs.nur.overlay;
|
||||||
smartmontools = smartmontoolsOverlay;
|
smartmontools = smartmontoolsOverlay;
|
||||||
termius = termiusOverlay;
|
termius = termiusOverlay;
|
||||||
vivaldi = vivaldiOverlay;
|
# vivaldi = vivaldiOverlay;
|
||||||
|
|
||||||
# The unstable nixpkgs set (declared in the flake inputs) will
|
# The unstable nixpkgs set (declared in the flake inputs) will
|
||||||
# be accessible through 'pkgs.unstable'
|
# be accessible through 'pkgs.unstable'
|
||||||
|
|
Loading…
Reference in a new issue