upgrade to 22.11

This commit is contained in:
Cyryl Płotnicki 2022-12-02 14:56:05 +00:00
parent 8ef222bf9a
commit 2006da9ed5
8 changed files with 41 additions and 21 deletions

View file

@ -57,19 +57,20 @@
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"nixpkgs-stable" "nixpkgs-stable"
] ],
"utils": "utils"
}, },
"locked": { "locked": {
"lastModified": 1667907331, "lastModified": 1669724862,
"narHash": "sha256-bHkAwkYlBjkupPUFcQjimNS8gxWSWjOTevEuwdnp5m0=", "narHash": "sha256-GwLonjmyhnTGQRNfKcUCgMSKYj49ZehjjJulaM/yH18=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "6639e3a837fc5deb6f99554072789724997bc8e5", "rev": "e891b060e7d11bb8f7dedb86a41d804891a6f5a9",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-community", "owner": "nix-community",
"ref": "release-22.05", "ref": "release-22.11",
"repo": "home-manager", "repo": "home-manager",
"type": "github" "type": "github"
} }
@ -165,16 +166,16 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1669920164, "lastModified": 1669834992,
"narHash": "sha256-+3DM3bi/c/6MSCGDwAqqlpYHhOuKTL0bH7Xf4UmScdI=", "narHash": "sha256-YnhZGHgb4C3Q7DSGisO/stc50jFb9F/MzHeKS4giotg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "97e88a936cf18bc8a2c6cf65e4ec8d423e4cb743", "rev": "596a8e828c5dfa504f91918d0fa4152db3ab5502",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-22.05", "ref": "nixos-22.11",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@ -256,6 +257,21 @@
"repo": "sops-nix", "repo": "sops-nix",
"type": "github" "type": "github"
} }
},
"utils": {
"locked": {
"lastModified": 1667395993,
"narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
} }
}, },
"root": "root", "root": "root",

View file

@ -200,7 +200,7 @@
type = "github"; type = "github";
owner = "NixOS"; owner = "NixOS";
repo = "nixpkgs"; repo = "nixpkgs";
ref = "nixos-22.05"; ref = "nixos-22.11";
}; };
nixos-hardware = { nixos-hardware = {
@ -219,7 +219,7 @@
type = "github"; type = "github";
owner = "nix-community"; owner = "nix-community";
repo = "home-manager"; repo = "home-manager";
ref = "release-22.05"; ref = "release-22.11";
inputs.nixpkgs.follows = "nixpkgs-stable"; inputs.nixpkgs.follows = "nixpkgs-stable";
}; };

View file

@ -30,6 +30,8 @@
swapDevices = [ ]; swapDevices = [ ];
nix.maxJobs = 2; nix.settings = {
nix.buildCores = 7; max-jobs = 7;
cores = 4;
};
} }

View file

@ -37,8 +37,6 @@
}; };
}; };
useGlamor = true;
deviceSection = '' deviceSection = ''
Option "TearFree" "true" Option "TearFree" "true"
Option "AccelMethod" "sna" Option "AccelMethod" "sna"

View file

@ -89,7 +89,7 @@ in {
]; ];
nix = { nix = {
autoOptimiseStore = true; settings.auto-optimise-store = true;
gc.automatic = true; gc.automatic = true;
optimise.automatic = true; optimise.automatic = true;
package = pkgs.nixUnstable; package = pkgs.nixUnstable;

View file

@ -1,6 +1,6 @@
{ config, pkgs, inputs, ... }: { config, pkgs, inputs, ... }:
let username = "cyryl";
{ in {
home.sessionVariables = { home.sessionVariables = {
LC_ALL = "en_GB.UTF-8"; LC_ALL = "en_GB.UTF-8";
LANG = "en_GB.UTF-8"; LANG = "en_GB.UTF-8";
@ -11,6 +11,11 @@
home.packages = with pkgs; [ ]; home.packages = with pkgs; [ ];
home.username = username;
home.homeDirectory = "/home/${username}";
home.stateVersion = "22.05";
programs.home-manager.enable = true;
imports = [ imports = [
./cli.nix ./cli.nix
./links.nix ./links.nix

View file

@ -22,8 +22,7 @@
xdg.portal = { xdg.portal = {
enable = true; enable = true;
gtkUsePortal = true; extraPortals = with pkgs; [ xdg-desktop-portal-gtk xdg-desktop-portal-kde ];
extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];
}; };
services = { services = {

View file

@ -2,7 +2,7 @@
networking.firewall.checkReversePath = "loose"; networking.firewall.checkReversePath = "loose";
networking.firewall.enable = true; networking.firewall.enable = true;
nix.allowedUsers = [ "@users" ]; nix.settings.allowed-users = [ "@users" ];
security.apparmor.enable = true; security.apparmor.enable = true;
security.apparmor.killUnconfinedConfinables = true; security.apparmor.killUnconfinedConfinables = true;