add sj-bm-hostkey0, bump steveej-t14, rework NIX_PATH and zsh

This commit is contained in:
steveej 2023-11-23 17:14:15 +01:00
parent ceda614fcd
commit 47173396fe
13 changed files with 156 additions and 575 deletions

View file

@ -31,10 +31,22 @@ in {
users.commonUsers = {
enable = true;
enableNonRoot = true;
# rootPasswordFile = config.sops.secrets.passwords-root.path;
};
}
];
nix.nixPath = [
"nixpkgs=${pkgs.path}"
];
nix.registry = {
nixpkgs.to = {
type = "path";
path = pkgs.path;
};
};
nix.settings.experimental-features = [ "nix-command" "flakes" ];
boot = {
kernel = {
@ -104,7 +116,7 @@ in {
};
};
system.stateVersion = "23.05";
system.stateVersion = "23.11";
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.initrd.includeDefaultModules = true;
@ -119,4 +131,17 @@ in {
environment.systemPackages = [
pkgs.hdparm
];
# home-manager.users.steveej = _: {
# imports = [
# ../../../home-manager/configuration/text-minimal.nix
# ];
# home.sessionVariables = {
# };
# home.packages = with pkgs; [
# ];
# };
}

View file

@ -74,16 +74,16 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1700390070,
"narHash": "sha256-de9KYi8rSJpqvBfNwscWdalIJXPo8NjdIZcEJum1mH0=",
"lastModified": 1700671922,
"narHash": "sha256-XPh/AHD14O+oaztjSb53c3Gh9K1JQHNBOTdn0dvtJpM=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "e4ad989506ec7d71f7302cc3067abd82730a4beb",
"rev": "4784a12198f7434971d5bb8aa6f111acef662ff4",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"ref": "nixos-23.11",
"repo": "nixpkgs",
"type": "github"
}

View file

@ -1,6 +1,6 @@
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
get-flake.url = "github:ursi/get-flake";