Skip to content

Commit

Permalink
Upgrade to nixos-24.05
Browse files Browse the repository at this point in the history
  • Loading branch information
wagdav committed Jun 1, 2024
1 parent e9c7b57 commit 418b34b
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 10 deletions.
8 changes: 4 additions & 4 deletions flake.lock

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

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
url = "github:edolstra/flake-compat";
flake = false;
};
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
inputs.nixos-hardware.url = "github:NixOS/nixos-hardware";
inputs.cachix-deploy.url = "github:cachix/cachix-deploy-flake";
inputs.nixos-generators.url = "github:nix-community/nixos-generators";
Expand Down
1 change: 0 additions & 1 deletion modules/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
documentation.enable = false;

nix = {
package = pkgs.nixUnstable;
extraOptions = ''
builders-use-substitutes = true
experimental-features = nix-command flakes
Expand Down
6 changes: 5 additions & 1 deletion modules/consul/base.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ config, ... }:
{ config, lib, ... }:

{
services.consul = {
Expand All @@ -21,4 +21,8 @@
# https://www.consul.io/docs/install/ports
networking.firewall.allowedTCPPorts = [ 8300 8301 8302 8500 8600 ];
networking.firewall.allowedUDPPorts = [ 8301 8302 8600 ];

nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"consul"
];
}
2 changes: 1 addition & 1 deletion modules/loki.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ let
};

limits_config = {
enforce_metric_name = false;
allow_structured_metadata = false;
reject_old_samples = true;
reject_old_samples_max_age = "168h";
};
Expand Down
4 changes: 2 additions & 2 deletions x230.nix
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@

sway = {
enable = true;
extraPackages = with pkgs; [ chayang swaylock swayidle alacritty dmenu sway-contrib.grimshot ];
extraPackages = with pkgs; [ chayang swaylock swayidle alacritty sway-contrib.grimshot wmenu ];
};

neovim = {
Expand Down Expand Up @@ -135,7 +135,7 @@
services = {
avahi = {
enable = true;
nssmdns = true;
nssmdns4 = true;
openFirewall = true;
};

Expand Down

0 comments on commit 418b34b

Please sign in to comment.