Primarily reaper

This commit is contained in:
2025-04-25 23:52:18 +03:00
parent 3bf91063d3
commit 5b30dc0124
10 changed files with 86 additions and 42 deletions
Generated
+43 -8
View File
@@ -6,11 +6,11 @@
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1745386585,
"narHash": "sha256-KOb8RuZMAlQg1U1CAvnpNy/reUs9wuDnMBkIJ+RbQu4=",
"lastModified": 1745406072,
"narHash": "sha256-BrpSzlkjkSVEdL3BHHaNnwuUZ719iK6aOTM7o7JAXxM=",
"ref": "refs/heads/master",
"rev": "ff36a2a9b53603802c7bc1ba49aff826bc0e9477",
"revCount": 40,
"rev": "585df87d537867b8193b70ffe4cb1b201291e22b",
"revCount": 41,
"type": "git",
"url": "file:./azos-core"
},
@@ -58,13 +58,31 @@
"type": "github"
}
},
"musnix": {
"inputs": {
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1741303672,
"narHash": "sha256-eRKbKccBu3PK/oJpmUuLo+0v45d0SEjosE8tVsHbpeA=",
"owner": "musnix",
"repo": "musnix",
"rev": "d56a15f30329f304151e4e05fa82264d127da934",
"type": "github"
},
"original": {
"owner": "musnix",
"repo": "musnix",
"type": "github"
}
},
"nixos-hardware": {
"locked": {
"lastModified": 1744633460,
"narHash": "sha256-fbWE4Xpw6eH0Q6in+ymNuDwTkqmFmtxcQEmtRuKDTTk=",
"lastModified": 1745392233,
"narHash": "sha256-xmqG4MZArM1JNxPJ33s0MtuBzgnaCO9laARoU3AfP8E=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "9a049b4a421076d27fee3eec664a18b2066824cb",
"rev": "8bf8a2a0822365bd8f44fd1a19d7ed0a1d629d64",
"type": "github"
},
"original": {
@@ -107,6 +125,22 @@
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1740695751,
"narHash": "sha256-D+R+kFxy1KsheiIzkkx/6L63wEHBYX21OIwlFV8JvDs=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "6313551cd05425cd5b3e63fe47dbc324eabb15e4",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_3": {
"locked": {
"lastModified": 1735563628,
"narHash": "sha256-OnSAY7XDSx7CtDoqNh8jwVwh4xNL/2HaJxGjryLWzX8=",
@@ -126,8 +160,9 @@
"inputs": {
"azos-core": "azos-core",
"home-manager": "home-manager",
"musnix": "musnix",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_2",
"nixpkgs": "nixpkgs_3",
"nixpkgs-unstable": "nixpkgs-unstable"
}
},
+4
View File
@@ -22,6 +22,9 @@
# everything match nicely? Try nix-colors!
# nix-colors.url = "github:misterio77/nix-colors";
#Music production nix
musnix = { url = "github:musnix/musnix"; };
azos-core = {
url = "git+file:./azos-core";
flake = true;
@@ -79,6 +82,7 @@
specialArgs = {inherit inputs outputs;};
modules = [
# > Our main nixos configuration file <
#We need to musnix here
./nixos/configuration.nix
];
};
+3 -30
View File
@@ -17,9 +17,9 @@
nixpkgs = {
overlays = [
inputs.azos-core.overlays.addpkgs
# outputs.overlays.additions
# outputs.overlays.modifications
# outputs.overlays.unstable-packages
outputs.overlays.additions
outputs.overlays.modifications
outputs.overlays.unstable-packages
];
config = {
allowUnfree = true;
@@ -37,38 +37,11 @@
azos.suites.exwm.enable = true;
azos.name = "Aner Zakobar";
# TODO: Set your username
home = {
username = "aner";
homeDirectory = "/home/aner";
};
# xsession = {
# windowManager.command = ''
# exec ${pkgs.i3}/bin/i3
# '';
# # windowManager.command = "exec ${config.programs.emacs.package}/bin/emacs -l \"${config.programs.emacs.extraConfig} (azos/exwm/load-exwm)\"";
# enable = true;
# #Keybvoard rate
# # initExtra = ''
# # xset r rate 200 100
# # '';
# };
# services.xserver.windowManager.myExwm = {
# enable = true;
# enableDefaultConfig = false;
# executable = config.programs.emacs.package;
# loadScript = ''(require 'azos-emacs-exwm)'';
# };
# home.packages = with pkgs; [
# # steam
# pandoc
# offlineimap #emailing
# liberation_ttf #fonts
# graphviz #graphing
# ];
# Nicely reload system units when changing configs
systemd.user.startServices = "sd-switch";
+10 -1
View File
@@ -1,3 +1,12 @@
{
imports = [./mail.nix ./encryption.nix ./kubernetes.nix ./git.nix ./mpris-proxy.nix ./qutebrowser-config.nix ./audio.nix];
imports = [
./mail.nix
./encryption.nix
./kubernetes.nix
./git.nix
./mpris-proxy.nix
./qutebrowser-config.nix
./audio.nix
./reaper.nix
];
}
+1 -1
View File
@@ -12,7 +12,7 @@ in {
config = lib.mkIf isEnabled {
home.packages = with pkgs; [
kubectl
kubernetes-helm
# kubernetes-helm
velero
];
};
+21
View File
@@ -0,0 +1,21 @@
{ lib, config, pkgs, ... }:
let
isEnabled =
config.azos.reaper.enable;
in {
options.azos.reaper.enable = lib.mkOption {
default = true;
example = true;
type = lib.types.bool;
};
config = lib.mkIf isEnabled {
home.packages = with pkgs; [
reaper
helm #TODO this synth had better work
surge
lsp-plugins
vital
];
};
}
+1
View File
@@ -12,5 +12,6 @@ in {
config = lib.mkIf isEnabled {
hardware.pulseaudio.enable = true;
environment.systemPackages = with pkgs; [pavucontrol];
musnix.enable = true;
};
}
+1
View File
@@ -9,6 +9,7 @@
[ # Include the results of the hardware scan.
./hardware-configuration.nix
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-t480
inputs.musnix.nixosModules.musnix
inputs.home-manager.nixosModules.home-manager
outputs.nixosModules
outputs.azos-core.nixosModules
+1 -1
View File
@@ -1,7 +1,7 @@
# This file defines overlays
{inputs, ...}: {
# This one brings our custom packages from the 'pkgs' directory
additions = final: _prev: import ./pkgs {pkgs = final;};
additions = final: _prev: import ../pkgs {pkgs = final;};
# This one contains whatever you want to overlay
# You can change versions, add patches, set compilation flags, anything really.