Switch to niri - Episode 2: The (first?) purge
This commit is contained in:
parent
f28ec1ae8f
commit
c2ebb8d760
54 changed files with 192 additions and 83206 deletions
|
@ -3,166 +3,110 @@
|
|||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
# window-screenshot = pkgs.writeTextFile "window-screenshot.nu" (builtins.readFile ../../other/scripts/desktop/window-screenshot.nu);
|
||||
window-screenshot = pkgs.writeShellScriptBin "window-screenshot.sh" (builtins.readFile ../../other/scripts/desktop/window-screenshot.sh);
|
||||
# desktop-ctl = pkgs.writeShellScriptBin "desktop-ctl.sh" (builtins.readFile ../scripts/desktop/desktop-ctl.sh);
|
||||
desktop-ctl = import ../../other/scripts/desktop/desktopctl.nix {inherit pkgs;};
|
||||
# TODO: fix ocr screenshot script
|
||||
ocr-screenshot = pkgs.writeShellScriptBin "ocr-screenshot.sh" (builtins.readFile ../../other/scripts/desktop/ocr-screenshot.sh);
|
||||
# rofi calculator copied from https://github.com/barbuk/menu-qalc
|
||||
menu-qalc = pkgs.writeShellScriptBin "menu-qalc" (builtins.readFile ../../other/scripts/desktop/menu-qalc.sh);
|
||||
in
|
||||
with lib; {
|
||||
imports = [
|
||||
./gaming.nix
|
||||
./creative.nix # TODO: more fine grained choices, not every setup needs fspy or rawtherapee
|
||||
./ios-compat.nix
|
||||
./syncthing.nix
|
||||
./kdeconnect.nix
|
||||
./themeing.nix
|
||||
./cloud.nix
|
||||
./networking.nix
|
||||
./social.nix
|
||||
./mail.nix
|
||||
./fonts.nix
|
||||
./firefox.nix
|
||||
./x.nix
|
||||
./obs.nix
|
||||
];
|
||||
}:
|
||||
with lib; {
|
||||
imports = [
|
||||
./gaming.nix
|
||||
./creative.nix # TODO: more fine grained choices, not every setup needs fspy or rawtherapee
|
||||
./syncthing.nix
|
||||
./kdeconnect.nix
|
||||
./themeing.nix
|
||||
./cloud.nix
|
||||
./networking.nix
|
||||
./social.nix
|
||||
./mail.nix
|
||||
./fonts.nix
|
||||
./firefox.nix
|
||||
./x.nix
|
||||
./obs.nix
|
||||
];
|
||||
|
||||
programs.seahorse.enable = true;
|
||||
security.pam.services.jade.enableGnomeKeyring = true;
|
||||
programs.seahorse.enable = true;
|
||||
security.pam.services.jade.enableGnomeKeyring = true;
|
||||
|
||||
virtualisation.libvirtd.enable = true;
|
||||
virtualisation.libvirtd.enable = true;
|
||||
|
||||
services = {
|
||||
printing = {
|
||||
enable = true;
|
||||
drivers = [
|
||||
pkgs.gutenprint
|
||||
pkgs.gutenprintBin
|
||||
pkgs.hplip
|
||||
pkgs.brlaser
|
||||
pkgs.brgenml1lpr
|
||||
pkgs.brgenml1cupswrapper
|
||||
pkgs.ptouch-driver
|
||||
];
|
||||
};
|
||||
gnome.gnome-keyring.enable = true;
|
||||
};
|
||||
|
||||
programs.xss-lock = {
|
||||
services = {
|
||||
printing = {
|
||||
enable = true;
|
||||
lockerCommand = "${pkgs.i3lock}/bin/i3lock -c 1d2021";
|
||||
};
|
||||
|
||||
services.illum.enable = true;
|
||||
services.avahi = {
|
||||
enable = true;
|
||||
nssmdns4 = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
services.smartd = {
|
||||
enable = true;
|
||||
notifications.test = true;
|
||||
};
|
||||
|
||||
home-manager.users.jade = {pkgs, ...}: {
|
||||
home.sessionVariables = {
|
||||
"S10E_JRNL_FILE_LOC" = "/home/jade/Docs/jrnl.md";
|
||||
};
|
||||
programs.ssh = {
|
||||
controlMaster = "yes";
|
||||
};
|
||||
|
||||
programs.bat = {
|
||||
# TODO: more config
|
||||
enable = true;
|
||||
};
|
||||
programs.rofi = {
|
||||
enable = true;
|
||||
theme = ../../other/rofi-themes/applauncher.rasi;
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
just
|
||||
bacon
|
||||
|
||||
magic-wormhole-rs
|
||||
|
||||
yt-dlp
|
||||
|
||||
i3lock
|
||||
rofimoji
|
||||
feh
|
||||
xorg.xinput
|
||||
arandr
|
||||
flameshot
|
||||
tesseract5
|
||||
imagemagick
|
||||
xclip
|
||||
xmacro
|
||||
xorg.xev
|
||||
gscreenshot
|
||||
|
||||
syncplay
|
||||
|
||||
# filemanager
|
||||
xfce.thunar
|
||||
xfce.tumbler
|
||||
xfce.thunar-archive-plugin
|
||||
file-roller
|
||||
# media/file viewers
|
||||
vlc
|
||||
mpv
|
||||
evince
|
||||
nomacs
|
||||
jellyfin-media-player
|
||||
|
||||
# from environment.systemPackages cleanup
|
||||
gparted
|
||||
xdg-desktop-portal-gtk
|
||||
virt-manager
|
||||
ddccontrol-db
|
||||
firebird-emu
|
||||
gitg
|
||||
qdirstat
|
||||
ffmpeg_7-full
|
||||
|
||||
# external
|
||||
libnotify
|
||||
i3lock
|
||||
rofi
|
||||
rofimoji
|
||||
feh
|
||||
xorg.xinput
|
||||
arandr
|
||||
flameshot
|
||||
tesseract5
|
||||
imagemagick
|
||||
xclip
|
||||
kitty
|
||||
xmacro
|
||||
brightnessctl
|
||||
drawing
|
||||
libqalculate
|
||||
|
||||
# custom scripts
|
||||
window-screenshot
|
||||
desktop-ctl
|
||||
ocr-screenshot
|
||||
menu-qalc
|
||||
|
||||
# meow
|
||||
oneko
|
||||
|
||||
plover.dev
|
||||
|
||||
mupdf
|
||||
inotify-tools
|
||||
drivers = [
|
||||
pkgs.gutenprint
|
||||
pkgs.gutenprintBin
|
||||
pkgs.hplip
|
||||
pkgs.brlaser
|
||||
pkgs.brgenml1lpr
|
||||
pkgs.brgenml1cupswrapper
|
||||
pkgs.ptouch-driver
|
||||
];
|
||||
xsession = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
programs.xss-lock = {
|
||||
enable = true;
|
||||
lockerCommand = "${pkgs.i3lock}/bin/i3lock -c 1d2021";
|
||||
};
|
||||
|
||||
services.illum.enable = true;
|
||||
services.avahi = {
|
||||
enable = true;
|
||||
nssmdns4 = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
services.smartd = {
|
||||
enable = true;
|
||||
notifications.test = true;
|
||||
};
|
||||
|
||||
home-manager.users.jade = {pkgs, ...}: {
|
||||
home.sessionVariables = {
|
||||
"S10E_JRNL_FILE_LOC" = "/home/jade/Docs/jrnl.md";
|
||||
};
|
||||
programs.ssh = {
|
||||
controlMaster = "yes";
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
just
|
||||
bacon
|
||||
|
||||
magic-wormhole-rs
|
||||
|
||||
yt-dlp
|
||||
|
||||
imagemagick
|
||||
|
||||
syncplay
|
||||
|
||||
# filemanager
|
||||
xfce.thunar
|
||||
xfce.tumbler
|
||||
xfce.thunar-archive-plugin
|
||||
file-roller
|
||||
|
||||
# media/file viewers
|
||||
vlc
|
||||
mpv
|
||||
evince
|
||||
nomacs
|
||||
jellyfin-media-player
|
||||
|
||||
# from environment.systemPackages cleanup
|
||||
virt-manager
|
||||
ddccontrol-db
|
||||
ffmpeg_7-full
|
||||
|
||||
# external
|
||||
libnotify
|
||||
rofimoji
|
||||
xorg.xinput
|
||||
arandr
|
||||
flameshot
|
||||
tesseract5
|
||||
imagemagick
|
||||
brightnessctl
|
||||
drawing
|
||||
];
|
||||
xsession = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,29 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
cfg = config.jade.desktop.ios-compat;
|
||||
in
|
||||
with lib; {
|
||||
options.jade.desktop.ios-compat = {
|
||||
enable = mkEnableOption "Enable the ios compatability programs";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
services = {
|
||||
usbmuxd.enable = true;
|
||||
gvfs.enable = true;
|
||||
};
|
||||
home-manager.users.jade = {pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
libimobiledevice
|
||||
libimobiledevice-glue
|
||||
ifuse
|
||||
usbmuxd
|
||||
libusbmuxd
|
||||
gvfs
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
|
@ -5,12 +5,7 @@
|
|||
desktopManager = {
|
||||
xterm.enable = false;
|
||||
};
|
||||
|
||||
windowManager.xmonad = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
security.polkit.enable = true;
|
||||
programs.sway.enable = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue