mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 06:00:45 -06:00
reorg
This commit is contained in:
parent
eb15a5aabb
commit
b47ff20d80
13 changed files with 26 additions and 36 deletions
|
@ -8,8 +8,8 @@
|
|||
];
|
||||
|
||||
languages = {
|
||||
nim.enable = true;
|
||||
python.enable = true;
|
||||
nim= true;
|
||||
python= true;
|
||||
};
|
||||
cli.enable = true;
|
||||
|
||||
|
|
|
@ -11,14 +11,6 @@
|
|||
|
||||
gui
|
||||
nix-ld
|
||||
virtualization
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
(vivaldi.override {
|
||||
proprietaryCodecs = true;
|
||||
# enableWidevine = true;
|
||||
})
|
||||
];
|
||||
|
||||
users = {
|
||||
|
|
|
@ -9,8 +9,7 @@
|
|||
# hyprland
|
||||
|
||||
nix-ld
|
||||
virtualization
|
||||
|
||||
virtualbox
|
||||
restic
|
||||
];
|
||||
programs.hyprland.enable = true;
|
||||
|
@ -18,11 +17,11 @@
|
|||
services.vpn.enable = true;
|
||||
|
||||
languages = {
|
||||
misc.enable = true;
|
||||
python.enable = true;
|
||||
nim.enable = true;
|
||||
tex.enable = true;
|
||||
node.enable = true;
|
||||
misc = true;
|
||||
python = true;
|
||||
nim = true;
|
||||
tex = true;
|
||||
node = true;
|
||||
};
|
||||
cli.enable = true;
|
||||
|
||||
|
|
|
@ -5,10 +5,10 @@
|
|||
...
|
||||
}: let
|
||||
inherit (lib) mkEnableOption mkIf;
|
||||
cfg = config.languages.misc;
|
||||
cfg = config.languages;
|
||||
in {
|
||||
options.languages.misc.enable = mkEnableOption "go + rustup";
|
||||
config = mkIf cfg.enable {
|
||||
options.languages.misc = mkEnableOption "go + rustup";
|
||||
config = mkIf cfg.misc {
|
||||
environment.systemPackages = with pkgs; [
|
||||
go
|
||||
rustup
|
||||
|
|
|
@ -6,10 +6,10 @@
|
|||
...
|
||||
}: let
|
||||
inherit (lib) mkEnableOption mkIf;
|
||||
cfg = config.languages.nim;
|
||||
cfg = config.languages;
|
||||
in {
|
||||
options.languages.nim.enable = mkEnableOption "nim";
|
||||
config = mkIf cfg.enable {
|
||||
options.languages.nim = mkEnableOption "nim";
|
||||
config = mkIf cfg.nim {
|
||||
nixpkgs.overlays = [
|
||||
(import ../../overlays/nim {})
|
||||
(import ../../overlays/nimlsp {})
|
||||
|
|
|
@ -5,10 +5,10 @@
|
|||
...
|
||||
}: let
|
||||
inherit (lib) mkEnableOption mkIf;
|
||||
cfg = config.languages.node;
|
||||
cfg = config.languages;
|
||||
in {
|
||||
options.languages.node.enable = mkEnableOption "node";
|
||||
config = mkIf cfg.enable {
|
||||
options.languages.node = mkEnableOption "node";
|
||||
config = mkIf cfg.node {
|
||||
environment.systemPackages = with pkgs; [
|
||||
nodejs
|
||||
nodePackages.pnpm
|
||||
|
|
|
@ -5,10 +5,10 @@
|
|||
...
|
||||
}: let
|
||||
inherit (lib) mkEnableOption mkIf;
|
||||
cfg = config.languages.python;
|
||||
cfg = config.languages ;
|
||||
in {
|
||||
options.languages.python.enable = mkEnableOption "python";
|
||||
config = mkIf cfg.enable {
|
||||
options.languages.python = mkEnableOption "python";
|
||||
config = mkIf cfg.python {
|
||||
environment.systemPackages = with pkgs; [
|
||||
# https://github.com/Mic92/nix-ld?tab=readme-ov-file#my-pythonnodejsrubyinterpreter-libraries-do-not-find-the-libraries-configured-by-nix-ld
|
||||
(pkgs.writeShellScriptBin "python" ''
|
||||
|
|
|
@ -5,10 +5,10 @@
|
|||
...
|
||||
}: let
|
||||
inherit (lib) mkEnableOption mkIf;
|
||||
cfg = config.languages.tex;
|
||||
cfg = config.languages;
|
||||
in {
|
||||
options.languages.tex.enable = mkEnableOption "tex";
|
||||
config = mkIf cfg.enable {
|
||||
options.languages.tex = mkEnableOption "tex";
|
||||
config = mkIf cfg.tex {
|
||||
environment.systemPackages = with pkgs; [
|
||||
texlive.combined.scheme-full
|
||||
];
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
{
|
||||
input,
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./lock
|
||||
imports = with inputs.self.nixosModules; [
|
||||
lock
|
||||
];
|
||||
|
||||
# Enable the X11 windowing system.
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
displayManager.startx.enable = true;
|
||||
desktopManager.plasma5.enable = true;
|
||||
windowManager.qtile.enable = true;
|
||||
};
|
||||
|
Loading…
Reference in a new issue