feat: tried musnix; didn't work

This commit is contained in:
Patrick Großmann 2024-01-27 00:36:23 +01:00
parent 78e8aff34f
commit b4db6868e8
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
8 changed files with 39 additions and 2 deletions

View file

@ -961,6 +961,26 @@
"type": "github"
}
},
"musnix": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1702456985,
"narHash": "sha256-mnjCk8mINY4t5uIwP2eR19FOQXHTCO68+KsgKFTv1NI=",
"owner": "musnix",
"repo": "musnix",
"rev": "cf93a72da8ad677864045e9a5dd32170378d9a62",
"type": "github"
},
"original": {
"owner": "musnix",
"repo": "musnix",
"type": "github"
}
},
"nix-darwin": {
"inputs": {
"nixpkgs": [
@ -1496,6 +1516,7 @@
"impermanence": "impermanence",
"lanzaboote": "lanzaboote",
"microvm": "microvm",
"musnix": "musnix",
"nix-index-database": "nix-index-database",
"nixos-extra-modules": "nixos-extra-modules",
"nixos-generators": "nixos-generators",

View file

@ -60,6 +60,10 @@
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
};
musnix = {
url = "github:musnix/musnix";
inputs.nixpkgs.follows = "nixpkgs";
};
#templates.url = "git+https://git.lel.lol/patrick/nix-templates.git";

View file

@ -33,6 +33,7 @@
inputs.lanzaboote.nixosModules.lanzaboote
inputs.nixvim.nixosModules.nixvim
inputs.nixos-extra-modules.nixosModules.default
inputs.musnix.nixosModules.musnix
];
age.identityPaths = ["/state/etc/ssh/ssh_host_ed25519_key"];
boot.mode = lib.mkDefault "efi";

View file

@ -61,6 +61,8 @@
fd
kitty.terminfo
nvd
pciutils
usbutils
# fix pcscd
pcscliteWithPolkit.out
];

View file

@ -5,6 +5,14 @@
...
}:
lib.optionalAttrs (!minimal) {
# Sadly does not seem to do anything yet
#musnix = {
# enable = true;
# kernel= {
# realtime = true;
# packages = pkgs.linuxPackages_6_6_rt;
# };
#};
environment.systemPackages = with pkgs; [pulseaudio pulsemixer];
hardware.pulseaudio.enable = lib.mkForce false;

View file

@ -1,10 +1,11 @@
{
pkgs,
config,
lib,
...
}: {
boot.supportedFilesystems = ["zfs"];
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
boot.kernelPackages = lib.mkDefault config.boot.zfs.package.latestCompatibleLinuxPackages;
# The root pool should never be imported forcefully.
# Failure to import is important to notice!

View file

@ -6,6 +6,7 @@
./programs/gpg.nix
./programs/nvim
./programs/htop.nix
];
programs.bat.enable = true;

View file

@ -61,7 +61,6 @@ lib.optionalAttrs (!minimal) {
../common/impermanence.nix
../common/programs/direnv.nix
../common/programs/htop.nix
../common/programs/git.nix
../common/programs/bottles.nix
../common/programs/gdb.nix