mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 18:30:43 -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 = {
|
languages = {
|
||||||
nim.enable = true;
|
nim= true;
|
||||||
python.enable = true;
|
python= true;
|
||||||
};
|
};
|
||||||
cli.enable = true;
|
cli.enable = true;
|
||||||
|
|
||||||
|
|
|
@ -11,14 +11,6 @@
|
||||||
|
|
||||||
gui
|
gui
|
||||||
nix-ld
|
nix-ld
|
||||||
virtualization
|
|
||||||
];
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
(vivaldi.override {
|
|
||||||
proprietaryCodecs = true;
|
|
||||||
# enableWidevine = true;
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
users = {
|
users = {
|
||||||
|
|
|
@ -9,8 +9,7 @@
|
||||||
# hyprland
|
# hyprland
|
||||||
|
|
||||||
nix-ld
|
nix-ld
|
||||||
virtualization
|
virtualbox
|
||||||
|
|
||||||
restic
|
restic
|
||||||
];
|
];
|
||||||
programs.hyprland.enable = true;
|
programs.hyprland.enable = true;
|
||||||
|
@ -18,11 +17,11 @@
|
||||||
services.vpn.enable = true;
|
services.vpn.enable = true;
|
||||||
|
|
||||||
languages = {
|
languages = {
|
||||||
misc.enable = true;
|
misc = true;
|
||||||
python.enable = true;
|
python = true;
|
||||||
nim.enable = true;
|
nim = true;
|
||||||
tex.enable = true;
|
tex = true;
|
||||||
node.enable = true;
|
node = true;
|
||||||
};
|
};
|
||||||
cli.enable = true;
|
cli.enable = true;
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,10 @@
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (lib) mkEnableOption mkIf;
|
inherit (lib) mkEnableOption mkIf;
|
||||||
cfg = config.languages.misc;
|
cfg = config.languages;
|
||||||
in {
|
in {
|
||||||
options.languages.misc.enable = mkEnableOption "go + rustup";
|
options.languages.misc = mkEnableOption "go + rustup";
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.misc {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
go
|
go
|
||||||
rustup
|
rustup
|
||||||
|
|
|
@ -6,10 +6,10 @@
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (lib) mkEnableOption mkIf;
|
inherit (lib) mkEnableOption mkIf;
|
||||||
cfg = config.languages.nim;
|
cfg = config.languages;
|
||||||
in {
|
in {
|
||||||
options.languages.nim.enable = mkEnableOption "nim";
|
options.languages.nim = mkEnableOption "nim";
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.nim {
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
(import ../../overlays/nim {})
|
(import ../../overlays/nim {})
|
||||||
(import ../../overlays/nimlsp {})
|
(import ../../overlays/nimlsp {})
|
||||||
|
|
|
@ -5,10 +5,10 @@
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (lib) mkEnableOption mkIf;
|
inherit (lib) mkEnableOption mkIf;
|
||||||
cfg = config.languages.node;
|
cfg = config.languages;
|
||||||
in {
|
in {
|
||||||
options.languages.node.enable = mkEnableOption "node";
|
options.languages.node = mkEnableOption "node";
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.node {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
nodejs
|
nodejs
|
||||||
nodePackages.pnpm
|
nodePackages.pnpm
|
||||||
|
|
|
@ -5,10 +5,10 @@
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (lib) mkEnableOption mkIf;
|
inherit (lib) mkEnableOption mkIf;
|
||||||
cfg = config.languages.python;
|
cfg = config.languages ;
|
||||||
in {
|
in {
|
||||||
options.languages.python.enable = mkEnableOption "python";
|
options.languages.python = mkEnableOption "python";
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.python {
|
||||||
environment.systemPackages = with pkgs; [
|
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
|
# 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" ''
|
(pkgs.writeShellScriptBin "python" ''
|
||||||
|
|
|
@ -5,10 +5,10 @@
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (lib) mkEnableOption mkIf;
|
inherit (lib) mkEnableOption mkIf;
|
||||||
cfg = config.languages.tex;
|
cfg = config.languages;
|
||||||
in {
|
in {
|
||||||
options.languages.tex.enable = mkEnableOption "tex";
|
options.languages.tex = mkEnableOption "tex";
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.tex {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
texlive.combined.scheme-full
|
texlive.combined.scheme-full
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,17 +1,16 @@
|
||||||
{
|
{
|
||||||
input,
|
inputs,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = with inputs.self.nixosModules; [
|
||||||
./lock
|
lock
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enable the X11 windowing system.
|
# Enable the X11 windowing system.
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
displayManager.startx.enable = true;
|
displayManager.startx.enable = true;
|
||||||
desktopManager.plasma5.enable = true;
|
|
||||||
windowManager.qtile.enable = true;
|
windowManager.qtile.enable = true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue