Remove unused stuff

Evaluation on cranberry is sure does not leave much memory.
This commit is contained in:
Geoffrey Frogeye 2025-02-25 17:06:14 +01:00
parent dc52303eb7
commit e9e6265c41
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
39 changed files with 24 additions and 116 deletions

View file

@ -1,6 +1,4 @@
{ {
pkgs,
lib,
config, config,
... ...
}: }:

View file

@ -1,6 +1,4 @@
{ {
pkgs,
lib,
config, config,
... ...
}: }:

View file

@ -5,8 +5,6 @@
desktop.xorg = true; desktop.xorg = true;
dev = { dev = {
"3d" = true; "3d" = true;
c = true;
vm = true;
}; };
extra = true; extra = true;
}; };

View file

@ -1,7 +1,5 @@
{ {
pkgs, pkgs,
lib,
config,
nixos-hardware, nixos-hardware,
... ...
}: }:

View file

@ -1,7 +1,4 @@
{ {
pkgs,
lib,
config,
... ...
}: }:
{ {

View file

@ -1,7 +1,4 @@
{ {
pkgs,
lib,
config,
... ...
}: }:
{ {

View file

@ -1,6 +1,4 @@
{ {
pkgs,
lib,
config, config,
... ...
}: }:

View file

@ -1,7 +1,4 @@
{ {
pkgs,
lib,
config,
... ...
}: }:
{ {

View file

@ -1,6 +1,4 @@
{ {
pkgs,
lib,
config, config,
... ...
}: }:

View file

@ -1,7 +1,5 @@
{ {
pkgs, pkgs,
lib,
config,
... ...
}: }:
{ {

View file

@ -1,5 +1,4 @@
{ {
pkgs,
config, config,
lib, lib,
... ...

View file

@ -1,7 +1,6 @@
{ {
pkgs, pkgs,
config, config,
lib,
... ...
}: }:
{ {

View file

@ -24,7 +24,7 @@ let
in in
{ {
config = lib.mkIf config.frogeye.desktop.xorg { config = lib.mkIf config.frogeye.desktop.xorg {
home.packages = with pkgs; [ home.packages = [
(pkgs.writeShellApplication { (pkgs.writeShellApplication {
name = "xlock"; name = "xlock";
text = '' text = ''

View file

@ -3,7 +3,6 @@
# Config mentions pdfpc, although the last thing I used was Impressive, even made patches to it. # Config mentions pdfpc, although the last thing I used was Impressive, even made patches to it.
# UPST Add Impressive to nixpkgs # UPST Add Impressive to nixpkgs
{ {
pkgs,
lib, lib,
config, config,
... ...

View file

@ -37,33 +37,12 @@
# Network # Network
wireshark-qt wireshark-qt
# Ansible
]
++ lib.optionals config.frogeye.dev.ansible [
ansible
ansible-lint
# Docker # Docker
] ]
++ lib.optionals config.frogeye.dev.docker [ ++ lib.optionals config.frogeye.dev.docker [
docker docker
docker-compose docker-compose
# FPGA
]
++ lib.optionals config.frogeye.dev.fpga [
verilog
]
++ lib.optionals (config.frogeye.dev.fpga && pkgs.stdenv.isx86_64) [
ghdl
# FPGA (graphical)
]
++ lib.optionals (config.frogeye.desktop.xorg && config.frogeye.dev.fpga) [
yosys
gtkwave
# VM (graphical) # VM (graphical)
] ]
++ lib.optionals (config.frogeye.desktop.xorg && config.frogeye.dev.vm) [ ++ lib.optionals (config.frogeye.desktop.xorg && config.frogeye.dev.vm) [

View file

@ -1,4 +1,6 @@
{ pkgs, config, ... }: {
...
}:
{ {
imports = [ imports = [
./3d.nix ./3d.nix

View file

@ -1,6 +1,5 @@
# Untested post-nix # Untested post-nix
{ {
pkgs,
lib, lib,
config, config,
... ...

View file

@ -40,38 +40,24 @@
# documents # documents
visidata visidata
# texlive.combined.scheme-full
# TODO Convert existing LaTeX documents into using Nix build system
# texlive is big and not that much used, sooo
pdftk pdftk
pdfgrep pdfgrep
# Misc # Misc
haskellPackages.dice haskellPackages.dice
rustdesk-flutter
] ]
++ lib.optionals config.frogeye.desktop.xorg [ ++ lib.optionals config.frogeye.desktop.xorg [
# multimedia editors # multimedia editors
darktable
puddletag puddletag
audacity
xournalpp xournalpp
krita
# downloading # downloading
transmission_4-qt transmission_4-qt
# wine only makes sense on x86_64
]
++ lib.optionals pkgs.stdenv.isx86_64 [
wine
# TODO wine-gecko wine-mono lib32-libpulse (?)
] # Misc
++ lib.optionals (!stdenv.isAarch64) [ rustdesk-flutter
# Musescore is broken on aarch64
musescore
] ]
); );
}; };

View file

@ -1,6 +1,5 @@
{ {
pkgs, pkgs,
lib,
config, config,
... ...
}: }:

View file

@ -1,7 +1,6 @@
{ {
pkgs, pkgs,
lib, lib,
config,
... ...
}: }:
{ {

View file

@ -1,7 +1,4 @@
{ {
pkgs,
lib,
config,
... ...
}: }:
{ {

View file

@ -1,6 +1,5 @@
{ {
pkgs, pkgs,
lib,
config, config,
... ...
}: }:

View file

@ -1,7 +1,5 @@
{ {
pkgs, pkgs,
lib,
config,
... ...
}: }:
{ {

View file

@ -1,7 +1,6 @@
{ {
pkgs, pkgs,
config, config,
lib,
stylix, stylix,
... ...
}: }:

View file

@ -1,7 +1,5 @@
{ {
pkgs, pkgs,
lib,
config,
... ...
}: }:
let let
@ -32,7 +30,7 @@ in
{ {
config = { config = {
programs.nixvim = { programs.nixvim = {
extraPlugins = with pkgs.vimPlugins; [ extraPlugins = [
# f/F mode # f/F mode
vim-shot-f # Highlight relevant characters for f/F/t/T modes vim-shot-f # Highlight relevant characters for f/F/t/T modes
quick-scope # Highlight relevant characters for f/F modes one per word but always quick-scope # Highlight relevant characters for f/F modes one per word but always

View file

@ -1,7 +1,5 @@
{ {
pkgs, pkgs,
lib,
config,
... ...
}: }:
{ {

View file

@ -1,7 +1,4 @@
{ {
pkgs,
lib,
config,
... ...
}: }:
{ {

View file

@ -1,7 +1,5 @@
{ {
pkgs, pkgs,
lib,
config,
... ...
}: }:
{ {

View file

@ -68,7 +68,6 @@ in
ansible = lib.mkEnableOption "Ansible dev stuff"; ansible = lib.mkEnableOption "Ansible dev stuff";
c = lib.mkEnableOption "C/C++ dev stuff"; c = lib.mkEnableOption "C/C++ dev stuff";
docker = lib.mkEnableOption "Docker dev stuff"; docker = lib.mkEnableOption "Docker dev stuff";
fpga = lib.mkEnableOption "FPGA dev stuff";
go = lib.mkEnableOption "Go dev stuff"; go = lib.mkEnableOption "Go dev stuff";
node = lib.mkEnableOption "NodeJS dev stuff"; node = lib.mkEnableOption "NodeJS dev stuff";
perl = lib.mkEnableOption "Perl dev stuff"; perl = lib.mkEnableOption "Perl dev stuff";

View file

@ -1,6 +1,4 @@
{ {
pkgs,
lib,
config, config,
... ...
}: }:

View file

@ -1,6 +1,5 @@
{ {
pkgs, pkgs,
lib,
config, config,
... ...
}: }:

View file

@ -1,6 +1,5 @@
# Need nvidia proprietary drivers to work # Need nvidia proprietary drivers to work
{ {
pkgs,
nixpkgs, nixpkgs,
config, config,
lib, lib,

View file

@ -4,25 +4,26 @@
config, config,
... ...
}: }:
let
setupScript = "${
pkgs.writeShellApplication {
name = "greeter-setup-script";
runtimeInputs = [ pkgs.autorandr ];
text = ''
autorandr --change
'';
}
}/bin/greeter-setup-script";
in
{ {
config = { config = lib.mkIf (builtins.length config.frogeye.desktop.x11_screens > 1) {
services = { services = {
autorandr.enable = true; autorandr.enable = true;
xserver.displayManager.lightdm.extraConfig = '' xserver.displayManager.lightdm.extraConfig =
[Seat:*] let
display-setup-script = ${setupScript} setupScript = "${
''; pkgs.writeShellApplication {
name = "greeter-setup-script";
runtimeInputs = [ pkgs.autorandr ];
text = ''
autorandr --change
'';
}
}/bin/greeter-setup-script";
in
''
[Seat:*]
display-setup-script = ${setupScript}
'';
}; };
}; };
} }

View file

@ -1,6 +1,5 @@
{ {
pkgs, pkgs,
lib,
config, config,
stylix, stylix,
... ...

View file

@ -1,7 +1,6 @@
{ {
pkgs, pkgs,
lib, lib,
config,
... ...
}: }:
let let

View file

@ -1,6 +1,4 @@
{ {
pkgs,
lib,
config, config,
... ...
}: }:

View file

@ -1,7 +1,4 @@
{ {
pkgs,
lib,
config,
... ...
}: }:
{ {

View file

@ -1,7 +1,6 @@
{ {
pkgs, pkgs,
lib, lib,
config,
nixos-hardware, nixos-hardware,
... ...
}: }:

View file

@ -1,6 +1,4 @@
{ {
pkgs,
lib,
config, config,
... ...
}: }: