mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Desktop/Developer] developer-specific packages in the relevant section
Re-enable adfs-rootless Remove system-wide clion install
This commit is contained in:
parent
bba0c6b404
commit
59e1b6f350
2 changed files with 18 additions and 20 deletions
|
|
@ -2,6 +2,7 @@
|
|||
with lib;
|
||||
let
|
||||
cfg = config.aviallon.developer;
|
||||
generalCfg = config.aviallon.general;
|
||||
in {
|
||||
options.aviallon.developer = {
|
||||
enable = mkEnableOption "enable developer mode on this machine";
|
||||
|
|
@ -30,13 +31,21 @@ in {
|
|||
vulkan-tools
|
||||
gh # GitHub CLI
|
||||
|
||||
clinfo
|
||||
binutils
|
||||
cpuset
|
||||
gptfdisk # gdisk
|
||||
|
||||
gcc
|
||||
gnumake
|
||||
cmake
|
||||
|
||||
linux-manual man-pages man-pages-posix
|
||||
|
||||
linuxHeaders
|
||||
|
||||
libsForQt5.kdevelop
|
||||
jetbrains.clion
|
||||
# adbfs-rootless
|
||||
unstable.adbfs-rootless
|
||||
|
||||
amdctl
|
||||
];
|
||||
|
|
|
|||
25
packages.nix
25
packages.nix
|
|
@ -4,7 +4,9 @@ let
|
|||
cfg = config.aviallon.programs;
|
||||
desktopCfg = config.aviallon.desktop;
|
||||
generalCfg = config.aviallon.general;
|
||||
optimizeCfg = config.aviallon.optimizations;
|
||||
|
||||
myOpenssh = if optimizeCfg.enable then (optimizeCfg.optimizePkg {} pkgs.openssh) else pkgs.openssh;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
|
|
@ -35,12 +37,12 @@ in
|
|||
|
||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) cfg.allowUnfreeList;
|
||||
|
||||
environment.systemPackages = with pkgs; with libsForQt5; []
|
||||
environment.systemPackages = with pkgs; []
|
||||
++ [
|
||||
vim
|
||||
wget
|
||||
nano
|
||||
openssh
|
||||
myOpenssh
|
||||
psmisc
|
||||
pciutils
|
||||
ripgrep
|
||||
|
|
@ -59,21 +61,9 @@ in
|
|||
pv
|
||||
xxHash
|
||||
unzip
|
||||
]
|
||||
++ (optionals config.aviallon.developer.enable [
|
||||
schedtool
|
||||
clinfo
|
||||
binutils
|
||||
cpuset
|
||||
gptfdisk # gdisk
|
||||
|
||||
gcc
|
||||
gnumake
|
||||
cmake
|
||||
])
|
||||
;
|
||||
];
|
||||
|
||||
programs.ssh.package = pkgs.opensshOptimized;
|
||||
programs.ssh.package = myOpenssh;
|
||||
|
||||
programs.tmux = {
|
||||
enable = true;
|
||||
|
|
@ -82,8 +72,7 @@ in
|
|||
newSession = true;
|
||||
};
|
||||
|
||||
aviallon.programs.allowUnfreeList = [
|
||||
];
|
||||
aviallon.programs.allowUnfreeList = [];
|
||||
|
||||
programs.ccache.enable = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue