mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +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;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.aviallon.developer;
|
cfg = config.aviallon.developer;
|
||||||
|
generalCfg = config.aviallon.general;
|
||||||
in {
|
in {
|
||||||
options.aviallon.developer = {
|
options.aviallon.developer = {
|
||||||
enable = mkEnableOption "enable developer mode on this machine";
|
enable = mkEnableOption "enable developer mode on this machine";
|
||||||
|
|
@ -30,13 +31,21 @@ in {
|
||||||
vulkan-tools
|
vulkan-tools
|
||||||
gh # GitHub CLI
|
gh # GitHub CLI
|
||||||
|
|
||||||
|
clinfo
|
||||||
|
binutils
|
||||||
|
cpuset
|
||||||
|
gptfdisk # gdisk
|
||||||
|
|
||||||
|
gcc
|
||||||
|
gnumake
|
||||||
|
cmake
|
||||||
|
|
||||||
linux-manual man-pages man-pages-posix
|
linux-manual man-pages man-pages-posix
|
||||||
|
|
||||||
linuxHeaders
|
linuxHeaders
|
||||||
|
|
||||||
libsForQt5.kdevelop
|
libsForQt5.kdevelop
|
||||||
jetbrains.clion
|
unstable.adbfs-rootless
|
||||||
# adbfs-rootless
|
|
||||||
|
|
||||||
amdctl
|
amdctl
|
||||||
];
|
];
|
||||||
|
|
|
||||||
25
packages.nix
25
packages.nix
|
|
@ -4,7 +4,9 @@ let
|
||||||
cfg = config.aviallon.programs;
|
cfg = config.aviallon.programs;
|
||||||
desktopCfg = config.aviallon.desktop;
|
desktopCfg = config.aviallon.desktop;
|
||||||
generalCfg = config.aviallon.general;
|
generalCfg = config.aviallon.general;
|
||||||
|
optimizeCfg = config.aviallon.optimizations;
|
||||||
|
|
||||||
|
myOpenssh = if optimizeCfg.enable then (optimizeCfg.optimizePkg {} pkgs.openssh) else pkgs.openssh;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
|
@ -35,12 +37,12 @@ in
|
||||||
|
|
||||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) cfg.allowUnfreeList;
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) cfg.allowUnfreeList;
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; with libsForQt5; []
|
environment.systemPackages = with pkgs; []
|
||||||
++ [
|
++ [
|
||||||
vim
|
vim
|
||||||
wget
|
wget
|
||||||
nano
|
nano
|
||||||
openssh
|
myOpenssh
|
||||||
psmisc
|
psmisc
|
||||||
pciutils
|
pciutils
|
||||||
ripgrep
|
ripgrep
|
||||||
|
|
@ -59,21 +61,9 @@ in
|
||||||
pv
|
pv
|
||||||
xxHash
|
xxHash
|
||||||
unzip
|
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 = {
|
programs.tmux = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -82,8 +72,7 @@ in
|
||||||
newSession = true;
|
newSession = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
aviallon.programs.allowUnfreeList = [
|
aviallon.programs.allowUnfreeList = [];
|
||||||
];
|
|
||||||
|
|
||||||
programs.ccache.enable = true;
|
programs.ccache.enable = true;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue