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": {
"nixpkgs": [
"nixpkgs-stable"
]
],
"utils": "utils"
},
"locked": {
"lastModified": 1667907331,
"narHash": "sha256-bHkAwkYlBjkupPUFcQjimNS8gxWSWjOTevEuwdnp5m0=",
"lastModified": 1669724862,
"narHash": "sha256-GwLonjmyhnTGQRNfKcUCgMSKYj49ZehjjJulaM/yH18=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "6639e3a837fc5deb6f99554072789724997bc8e5",
"rev": "e891b060e7d11bb8f7dedb86a41d804891a6f5a9",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "release-22.05",
"ref": "release-22.11",
"repo": "home-manager",
"type": "github"
}
@ -165,16 +166,16 @@
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1669920164,
"narHash": "sha256-+3DM3bi/c/6MSCGDwAqqlpYHhOuKTL0bH7Xf4UmScdI=",
"lastModified": 1669834992,
"narHash": "sha256-YnhZGHgb4C3Q7DSGisO/stc50jFb9F/MzHeKS4giotg=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "97e88a936cf18bc8a2c6cf65e4ec8d423e4cb743",
"rev": "596a8e828c5dfa504f91918d0fa4152db3ab5502",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-22.05",
"ref": "nixos-22.11",
"repo": "nixpkgs",
"type": "github"
}
@ -256,6 +257,21 @@
"repo": "sops-nix",
"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",

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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