calcite: remove unused packages

This commit is contained in:
xinyangli 2024-01-07 21:41:01 +08:00
parent 552cc4f144
commit b0facfa211
9 changed files with 114 additions and 102 deletions

View file

@ -28,6 +28,11 @@
networking.hostName = "calcite";
programs.steam = {
enable = true;
gamescopeSession = { enable = true; };
};
programs.vim.defaultEditor = true;
# Keep this even if enabled in home manager
@ -99,7 +104,7 @@
enable = true;
wireplumber.enable = true;
alsa.enable = true;
#alsa.support32Bit = true;
alsa.support32Bit = true;
pulse.enable = true;
# If you want to use JACK applications, uncomment this
jack.enable = true;
@ -112,6 +117,17 @@
extraGroups = [ "networkmanager" "wheel" "wireshark" "tss" ];
};
services.kanidm = {
enableClient = true;
enablePam = true;
clientSettings = {
uri = "https://auth.xinyang.life";
};
unixSettings = {
pam_allowed_login_groups = [ "linux_users" "xin@auth.xinyang.life" "test" ];
};
};
# Enable automatic login for the user.
services.xserver.displayManager.autoLogin.enable = true;
services.xserver.displayManager.autoLogin.user = "xin";
@ -129,6 +145,7 @@
"openssl-1.1.1w"
# For wechat-uos
"electron-19.1.9"
"electron-25.9.0"
];
# List packages installed in system profile. To search, run:
# $ nix search wget
@ -141,23 +158,10 @@
wineWowPackages.waylandFull
faudio
# ==== CLI tools ==== #
rust-analyzer
# tesseract5 # ocr
ocrmypdf # pdfocr
grc
sops
git-crypt
# ==== Development ==== #
# Language server
clang-tools
rnix-lsp
# Python
# reference: https://nixos.wiki/wiki/Python
(
@ -173,37 +177,28 @@
python-with-my-packages
)
# Tex
texlive.combined.scheme-full
# ==== GUI Softwares ==== #
# IDE
jetbrains.jdk # patch jetbrain runtime java
jetbrains.clion
jetbrains.pycharm-professional
jetbrains.idea-ultimate
android-studio
# Gnome tweaks
gnomeExtensions.paperwm
gnomeExtensions.search-light
gnomeExtensions.tray-icons-reloaded
gnome.gnome-tweaks
gthumb
oculante
# Multimedia
vlc
obs-studio
spotify
rawtherapee
digikam
# IM
element-desktop
tdesktop
qq
config.nur.repos.xddxdd.wechat-uos
# Password manager
bitwarden
@ -212,19 +207,16 @@
firefox
chromium
brave
microsoft-edge
# Writting
obsidian
zotero
wpsoffice
onlyoffice-bin
wpsoffice
config.nur.repos.linyinfeng.wemeet
virt-manager
ghidra
];
system.stateVersion = "22.05";
@ -291,9 +283,10 @@
defaultFonts = {
serif = [ "Noto Serif CJK SC" "Ubuntu" ];
sansSerif = [ "Noto Sans CJK SC" "Ubuntu" ];
monospace = [ "FiraCode NerdFont Mono" "Ubuntu" ];
monospace = [ "FiraCode NerdFont Mono" "Noto Sans Mono CJK SC" "Ubuntu" ];
};
};
enableDefaultPackages = true;
};
# Virtualization
virtualisation = {

View file

@ -23,6 +23,12 @@
fsType = "vfat";
};
fileSystems."/media/data" =
{ device = "/dev/nvme0n1p7";
fsType = "ntfs-3g";
options = [ "rw" "uid=1000" "nofail" "x-systemd.device-timeout=2" ];
};
swapDevices =
[ { device = "/dev/disk/by-label/NIXSWAP"; }
];
@ -41,6 +47,6 @@
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.opengl = {
enable = true;
driSupport32Bit = false;
driSupport32Bit = true;
};
}