Skip to content

Commit

Permalink
feat: zig-nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
sioodmy committed Aug 4, 2024
1 parent 45c7ae3 commit 862568b
Show file tree
Hide file tree
Showing 11 changed files with 258 additions and 491 deletions.
74 changes: 73 additions & 1 deletion flake.lock

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

15 changes: 9 additions & 6 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@
description = "My NixOS configuration";
# https://dotfiles.sioodmy.dev

outputs = {
self,
nixpkgs,
flake-parts,
...
} @ inputs:
outputs = {flake-parts, ...} @ inputs:
flake-parts.lib.mkFlake {inherit inputs;} ({...}: {
systems = [
"x86_64-linux"
Expand Down Expand Up @@ -85,6 +80,14 @@
inputs.nixpkgs.follows = "nixpkgs";
};

zig-overlay = {
url = "github:mitchellh/zig-overlay";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-parts.follows = "flake-parts";
};
};

homix = {
url = "github:sioodmy/homix";
inputs = {
Expand Down
1 change: 1 addition & 0 deletions system/core/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
./users.nix
./git.nix
./openssh.nix
./devpkgs.nix
./syncthing.nix
];
}
15 changes: 15 additions & 0 deletions system/core/devpkgs.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
pkgs,
inputs,
...
}: {
environment.systemPackages =
(with pkgs; [
clang
gnumake
cargo
])
++ [
inputs.zig-overlay.packages.${pkgs.system}.master
];
}
4 changes: 2 additions & 2 deletions system/core/impermanence.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ in {
++ forEach ["syncthing" "obs-studio" "Signal" "niri" "BraveSoftware" "nicotine" "river" "emacs"] (
x: ".config/${x}"
)
++ forEach ["tealdeer" "keepassxc" "nix" "starship" "nix-index" "mozilla" "go-build" "BraveSoftware" "zsh" "nvim"] (
++ forEach ["tealdeer" "keepassxc" "nix" "starship" "nix-index" "librewolf" "go-build" "BraveSoftware" "zsh" "nvim"] (
x: ".cache/${x}"
)
++ forEach ["direnv" "TelegramDesktop" "PrismLauncher" "keyrings" "nicotine" "zoxide"] (x: ".local/share/${x}")
++ [".ssh" ".keepass" ".mozilla" ".thunderbird"]
++ [".ssh" ".keepass" ".librewolf"]
)
++ [
# dirty fix for "no storage left on device" while rebuilding
Expand Down
4 changes: 2 additions & 2 deletions system/wayland/desktop/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,24 @@
}: {
imports = [
inputs.nix-colors.homeManagerModules.default
./gtk
];

colorScheme = inputs.nix-colors.colorSchemes.rose-pine-moon;

environment.systemPackages =
(import ./wrapped.nix {inherit pkgs inputs config;})
++ [(import ./firefox {inherit pkgs;})]
++ (with pkgs; [
mpv
libnotify
dart-sass

librewolf
libreoffice-fresh
ytmdl
thunderbird
nicotine-plus
gnome.gnome-calculator
brave
inkscape
ledger-live-desktop
ledger_agent
Expand Down
49 changes: 0 additions & 49 deletions system/wayland/desktop/firefox/default.nix

This file was deleted.

Loading

0 comments on commit 862568b

Please sign in to comment.