Upgrade to NixOS 22.05

This commit is contained in:
Artemis Tosini 2022-05-31 04:42:46 +00:00
parent 9bda4ce478
commit 4a740fb642
Signed by: artemist
GPG key ID: EE5227935FE3FF18
10 changed files with 25 additions and 33 deletions

View file

@ -7,16 +7,16 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1651519540, "lastModified": 1653937612,
"narHash": "sha256-3k6p8VsTwwRPQjE8rrMh+o2AZACZn/eeYJ7ivdQ/Iro=", "narHash": "sha256-HybwffYKOM3UwlY54ZVCZgX7o5xpp2KhbZyyOnvwFMo=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "d93d56ab8c1c6aa575854a79b9d2f69d491db7d0", "rev": "bda2c80b4c1a8d85c84c343a25ac7303fbc7999d",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-community", "owner": "nix-community",
"ref": "release-21.11", "ref": "release-22.05",
"repo": "home-manager", "repo": "home-manager",
"type": "github" "type": "github"
} }
@ -38,27 +38,27 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1653565689, "lastModified": 1653819559,
"narHash": "sha256-xdJ6bmPxDPIMItZJWsDxopPXUTAFPWMkNkyOOcptWSc=", "narHash": "sha256-KzIZ1uaLR7vsBlcT0VWd8toFTC3yunSveNK+l2MQqrI=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "9bc0e974545d5bc4c24e1ed047be0dc4e30e494b", "rev": "2a64cd672b2706fbca461870cc9ac708b49d9016",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "nixos",
"ref": "nixos-21.11", "ref": "nixos-22.05",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1653581809, "lastModified": 1653845079,
"narHash": "sha256-Uvka0V5MTGbeOfWte25+tfRL3moECDh1VwokWSZUdoY=", "narHash": "sha256-7ghaQZ+7JXLI9FgNH8+RQHAt3/ubT92j8NtjZleP6t4=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "83658b28fe638a170a19b8933aa008b30640fbd1", "rev": "b62ada430501de88dfbb08cea4eb98ead3a5e3e7",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -1,11 +1,11 @@
{ {
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-21.11"; nixpkgs.url = "github:nixos/nixpkgs/nixos-22.05";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
nixos-hardware.url = "github:nixos/nixos-hardware"; nixos-hardware.url = "github:nixos/nixos-hardware";
home-manager = { home-manager = {
url = "github:nix-community/home-manager/release-21.11"; url = "github:nix-community/home-manager/release-22.05";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };

View file

@ -19,10 +19,7 @@
services.syncthing.enable = true; services.syncthing.enable = true;
programs.direnv = { programs.direnv = {
enable = true; enable = true;
nix-direnv = { nix-direnv.enable = true;
enable = true;
enableFlakes = true;
};
}; };
xdg.enable = true; xdg.enable = true;

View file

@ -3,7 +3,6 @@
{ {
nix = { nix = {
autoOptimiseStore = true; autoOptimiseStore = true;
package = pkgs-unstable.nix;
extraOptions = '' extraOptions = ''
experimental-features = nix-command flakes experimental-features = nix-command flakes
''; '';

View file

@ -11,7 +11,6 @@
trellis trellis
yosys yosys
# Testing # Testing
ghdl
symbiyosys symbiyosys
verilog verilog
verilator verilator

View file

@ -10,7 +10,7 @@
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
aircrack-ng aircrack-ng
ncat nmap
pwndbg pwndbg
python3Packages.binwalk-full python3Packages.binwalk-full
]; ];

View file

@ -12,7 +12,7 @@ in
opusTools opusTools
pavucontrol pavucontrol
simple-scan simple-scan
youtubeDL youtube-dl
# Linux tools # Linux tools
dmidecode dmidecode
@ -20,7 +20,7 @@ in
hdparm hdparm
iptables iptables
lm_sensors lm_sensors
manpages man-pages
nethogs nethogs
nvme-cli nvme-cli
parted parted
@ -35,8 +35,8 @@ in
zbar zbar
# Filesystems # Filesystems
cifs_utils cifs-utils
nfsUtils nfs-utils
ntfs3g ntfs3g
udftools udftools
@ -112,7 +112,7 @@ in
# Security # Security
(pass.withExtensions (exts: [ exts.pass-otp ])) (pass.withExtensions (exts: [ exts.pass-otp ]))
wireguard wireguard-tools
yubikey-manager yubikey-manager
yubioath-desktop yubioath-desktop
@ -129,10 +129,8 @@ in
# Gnome configuration # Gnome configuration
gnome3.adwaita-icon-theme gnome3.adwaita-icon-theme
gnome3.gnome-tweak-tool gsettings-desktop-schemas
gnome3.gsettings-desktop-schemas gnome-themes-extra
gnomeExtensions.appindicator
gnome_themes_standard
hicolor-icon-theme hicolor-icon-theme
numix-icon-theme numix-icon-theme
numix-icon-theme-circle numix-icon-theme-circle

View file

@ -13,7 +13,7 @@
hardware.pulseaudio.enable = lib.mkForce false; hardware.pulseaudio.enable = lib.mkForce false;
security.rtkit.enable = true; security.rtkit.enable = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
pulseaudioLight pulseaudio
qjackctl qjackctl
carla carla

View file

@ -5,7 +5,7 @@
enable = true; enable = true;
permitRootLogin = "no"; permitRootLogin = "no";
passwordAuthentication = false; passwordAuthentication = false;
challengeResponseAuthentication = false; kbdInteractiveAuthentication = false;
}; };
# users.users.artemis.openssh.authorizedKeys.keys set in private # users.users.artemis.openssh.authorizedKeys.keys set in private
} }

View file

@ -22,8 +22,7 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
virtmanager virtmanager
spice_gtk spice-gtk
cloud-hypervisor
qemu qemu
]; ];