Skip to content

Commit

Permalink
feat: add crabpulsar
Browse files Browse the repository at this point in the history
  • Loading branch information
sioodmy committed Dec 16, 2023
1 parent 155492d commit 7936e49
Show file tree
Hide file tree
Showing 8 changed files with 142 additions and 22 deletions.
137 changes: 123 additions & 14 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 11 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,24 @@
nix-super.url = "github:privatevoid-net/nix-super";

schizofox = {
# url = "github:schizofox/schizofox/wavefox";
url = "path:/home/sioodmy/dev/schizofox";
url = "github:schizofox/schizofox/wavefox";
# url = "path:/home/sioodmy/dev/schizofox";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-parts.follows = "flake-parts";
nixpak.follows = "nixpak";
};
};

crabpulsar = {
url = "github:sioodmy/crabpulsar";
# url = "path:/home/sioodmy/dev/crabpulsar";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-parts.follows = "flake-parts";
};
};

# a tree-wide formatter
treefmt-nix = {
url = "github:numtide/treefmt-nix";
Expand Down
1 change: 1 addition & 0 deletions home/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
inputs.nix-index-db.hmModules.nix-index
inputs.anyrun.homeManagerModules.default
inputs.schizofox.homeManagerModule
inputs.crabpulsar.homeManagerModule
inputs.impermanence.nixosModules.home-manager.impermanence
./packages.nix
./impermanence.nix
Expand Down
2 changes: 2 additions & 0 deletions home/rice/hyprland/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ in {
};

services = {
# TODO
crabpulsar.enable = false;
wlsunset = {
# TODO: fix opaque red screen issue
enable = true;
Expand Down
2 changes: 0 additions & 2 deletions hosts/anthe/hardware-configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
allowDiscards = true;
};

boot.tmp.useTmpfs = true;

boot.initrd.availableKernelModules =
[
"xhci_pci"
Expand Down
2 changes: 0 additions & 2 deletions hosts/calypso/hardware-configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
allowDiscards = true;
};

boot.tmp.useTmpfs = true;

boot.resumeDevice = "/dev/disk/by-label/swap";

boot.initrd.availableKernelModules =
Expand Down
5 changes: 4 additions & 1 deletion system/core/bootloader.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
];
boot = {
binfmt.emulatedSystems = ["aarch64-linux"];
tmp.cleanOnBoot = true;
tmp = {
cleanOnBoot = true;
useTmpfs = false;
};
# some kernel parameters, i dont remember what half of this shit does but who cares
kernelParams = [
# increase security of heap
Expand Down
2 changes: 1 addition & 1 deletion system/core/system.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

# compress half of the ram to use as swap
zramSwap = {
enable = true;
enable = false;
algorithm = "zstd";
};

Expand Down

0 comments on commit 7936e49

Please sign in to comment.