From 3cc55253a4799233bcd495fdf9c677307275bb1c Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Sat, 27 Jan 2024 19:18:05 +0100 Subject: [PATCH 1/3] flake: upgrade to 23.11 systems Signed-off-by: Raito Bezarius --- flake.lock | 16 ++++++++-------- flake.nix | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/flake.lock b/flake.lock index 5f9ac55..12b99b1 100644 --- a/flake.lock +++ b/flake.lock @@ -286,16 +286,16 @@ ] }, "locked": { - "lastModified": 1687871164, - "narHash": "sha256-bBFlPthuYX322xOlpJvkjUBz0C+MOBjZdDOOJJ+G2jU=", + "lastModified": 1705659542, + "narHash": "sha256-WA3xVfAk1AYmFdwghT7mt/erYpsU6JPu9mdTEP/e9HQ=", "owner": "rycee", "repo": "home-manager", - "rev": "07c347bb50994691d7b0095f45ebd8838cf6bc38", + "rev": "10cd9c53115061aa6a0a90aad0b0dde6a999cdb9", "type": "github" }, "original": { "owner": "rycee", - "ref": "release-23.05", + "ref": "release-23.11", "repo": "home-manager", "type": "github" } @@ -388,16 +388,16 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1691083802, - "narHash": "sha256-bjWTVGskCWR2BdB0Glnj2FyHooNiFThkFBF4oaAMe2s=", + "lastModified": 1706373441, + "narHash": "sha256-S1hbgNbVYhuY2L05OANWqmRzj4cElcbLuIkXTb69xkk=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "096c262bbb73d84b8298d81c7daa9890c6ccd6da", + "rev": "56911ef3403a9318b7621ce745f5452fb9ef6867", "type": "github" }, "original": { "owner": "NixOS", - "ref": "release-23.05", + "ref": "release-23.11", "repo": "nixpkgs", "type": "github" } diff --git a/flake.nix b/flake.nix index d4b5920..88aaf19 100644 --- a/flake.nix +++ b/flake.nix @@ -10,13 +10,13 @@ flake-parts.url = "github:hercules-ci/flake-parts"; flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs"; - nixpkgs.url = "github:NixOS/nixpkgs/release-23.05"; + nixpkgs.url = "github:NixOS/nixpkgs/release-23.11"; nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; nixos-hardware.url = "github:NixOS/nixos-hardware"; nur.url = "github:nix-community/NUR"; - home-manager.url = "github:rycee/home-manager/release-23.05"; + home-manager.url = "github:rycee/home-manager/release-23.11"; home-manager.inputs.nixpkgs.follows = "nixpkgs"; agenix.url = "github:ryantm/agenix"; From 056f8be2a50e6b0b771d5117389f8139d0704f0a Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Sat, 27 Jan 2024 19:15:22 +0100 Subject: [PATCH 2/3] epyc: disable ninjatrappeur's account Signed-off-by: Raito Bezarius --- modules/users/friends.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/users/friends.nix b/modules/users/friends.nix index 7914906..58620aa 100644 --- a/modules/users/friends.nix +++ b/modules/users/friends.nix @@ -6,12 +6,14 @@ let in { users.users = { + # Raito: unused since a while, it was made for working on the production database of Hydra. ninjatrappeur = { isNormalUser = true; home = "/home/ninjatrappeur"; shell = "/run/current-system/sw/bin/zsh"; uid = 2000; extraGroups = trustedFriendGroups; + expires = "2024-01-01"; openssh.authorizedKeys.keyFiles = [ ./keys/ninjatrappeur.keys ]; }; linus = { From ed5f2cb13fdb1f9c4ce3827e14ad0c1b2cdc55b2 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Sat, 27 Jan 2024 19:15:28 +0100 Subject: [PATCH 3/3] epyc: add flokli account for 3-ish days Signed-off-by: Raito Bezarius --- modules/users/friends.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/modules/users/friends.nix b/modules/users/friends.nix index 58620aa..068f799 100644 --- a/modules/users/friends.nix +++ b/modules/users/friends.nix @@ -34,6 +34,17 @@ in extraGroups = trustedFriendGroups; openssh.authorizedKeys.keyFiles = [ ./keys/niklas.keys ]; }; - + # Raito: Temporary account for flokli, disable when he's done with it. + flokli = { + isNormalUser = true; + home = "/home/flokli"; + shell = "/run/current-system/sw/bin/zsh"; + uid = 2003; + expires = "2024-02-01"; + extraGroups = trustedFriendGroups; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPTVTXOutUZZjXLB0lUSgeKcSY/8mxKkC0ingGK1whD2 flokli" + ]; + }; }; }