Skip to content

Commit

Permalink
Upgrade to NixOS 23.11
Browse files Browse the repository at this point in the history
  • Loading branch information
barrucadu committed Jan 2, 2024
1 parent 2ffe4ec commit 2abccb0
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 18 deletions.
56 changes: 46 additions & 10 deletions flake.lock

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

6 changes: 3 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
poetry2nix = {
url = "github:nix-community/poetry2nix?rev=e23218d1599e3369dfc878757e58974017e0ecc8";
url = "github:nix-community/poetry2nix";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
};
Expand All @@ -23,7 +23,7 @@
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
overlays = [ poetry2nix.overlay ];
overlays = [ poetry2nix.overlays.default ];
};
in
{
Expand Down
2 changes: 1 addition & 1 deletion hosts/azathoth/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ in
enableGhostscriptFonts = true;
fontconfig.cache32Bit = true;

fonts = with pkgs; [
packages = with pkgs; [
terminus_font
source-code-pro
];
Expand Down
2 changes: 1 addition & 1 deletion hosts/nyarlathotep/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ in
description = "Guest user";
isNormalUser = true;
group = "users";
passwordFile = config.sops.secrets."users/notbarrucadu".path;
hashedPasswordFile = config.sops.secrets."users/notbarrucadu".path;
shell = "/run/current-system/sw/bin/nologin";
};
sops.secrets."users/notbarrucadu".neededForUsers = true;
Expand Down
4 changes: 2 additions & 2 deletions shared/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ in
#############################################################################

# The NixOS release to be compatible with for stateful data such as databases.
system.stateVersion = "23.05";
system.stateVersion = "23.11";

# Only keep the last 500MiB of systemd journal.
services.journald.extraConfig = "SystemMaxUse=500M";
Expand Down Expand Up @@ -87,7 +87,7 @@ in
i18n.defaultLocale = "en_GB.UTF-8";

# Timezone
services.timesyncd.enable = true;
services.timesyncd.enable = mkForce true;
time.timeZone = "Europe/London";

# Keyboard
Expand Down
2 changes: 1 addition & 1 deletion shared/erase-your-darlings/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ in
# Switch back to immutable users
users.mutableUsers = mkForce false;
users.extraUsers.barrucadu.initialPassword = mkForce null;
users.extraUsers.barrucadu.passwordFile = cfg.barrucaduPasswordFile;
users.extraUsers.barrucadu.hashedPasswordFile = cfg.barrucaduPasswordFile;

# Persist state in `cfg.persistDir`
services.openssh.hostKeys = [
Expand Down

0 comments on commit 2abccb0

Please sign in to comment.