Compare commits

..

No commits in common. "55654fafb1ed8fb407f5a2ccea6ef2fbf1ffcf7f" and "e1a274c88eca1ddaacbc48175f508d4b4599c31f" have entirely different histories.

5 changed files with 40 additions and 88 deletions

View File

@ -327,7 +327,7 @@
},
"locked": {
"lastModified": 1,
"narHash": "sha256-H2OXIXbpDg2ngo92lzPLYc61QM6M/d5UyHGUCSRztzA=",
"narHash": "sha256-5DWw7GnwVZ98HUp/UUJcyUmmy9Bh/mcQB8MQQ0t3ZRo=",
"path": "flakes/zsh-histdb",
"type": "path"
},

View File

@ -44,10 +44,7 @@
me.kubernetes.enable = true;
me.latex.enable = true;
me.launch_keyboard.enable = true;
me.sway.enable = true;
me.lvfs.enable = true;
me.media.enable = true;
me.python.enable = true;
me.qemu.enable = true;
me.rust.enable = true;
me.sway.enable = true;
}

View File

@ -8,18 +8,6 @@
{
imports = [ ];
options.me = {
python.enable = lib.mkOption {
type = lib.types.bool;
default = false;
example = true;
description = "Whether we want to install python.";
};
};
config = lib.mkIf config.me.python.enable (
lib.mkMerge [
{
environment.systemPackages = with pkgs; [
(python3.withPackages (python-pkgs: [
python-pkgs.distro # For https://gitlab.freedesktop.org/drm/amd/-/blob/master/scripts/amd_s2idle.py
@ -33,6 +21,3 @@
black
];
}
]
);
}

View File

@ -8,22 +8,7 @@
{
imports = [ ];
options.me = {
qemu.enable = lib.mkOption {
type = lib.types.bool;
default = false;
example = true;
description = "Whether we want to install qemu.";
};
};
config = lib.mkIf config.me.qemu.enable (
lib.mkMerge [
{
environment.systemPackages = with pkgs; [
qemu
];
}
]
);
}

View File

@ -8,18 +8,6 @@
{
imports = [ ];
options.me = {
rust.enable = lib.mkOption {
type = lib.types.bool;
default = false;
example = true;
description = "Whether we want to install rust.";
};
};
config = lib.mkIf config.me.rust.enable (
lib.mkMerge [
{
environment.systemPackages = with pkgs; [
rustup
lldb # for lldb-vscode
@ -46,9 +34,6 @@
};
}
]
);
}
# TODO: Install clippy, cranelift, rust-src
# TODO: Install rust targets x86_64-unknown-linux-musl and wasm32-unknown-unknown