feat: upgrade to nixos 24.11

This commit is contained in:
Michael Thomas 2024-12-22 15:03:39 -05:00
parent b4ea5e4085
commit a1e088fb35
6 changed files with 36 additions and 37 deletions

16
flake.lock generated
View File

@ -333,16 +333,16 @@
]
},
"locked": {
"lastModified": 1726989464,
"narHash": "sha256-Vl+WVTJwutXkimwGprnEtXc/s/s8sMuXzqXaspIGlwM=",
"lastModified": 1734366194,
"narHash": "sha256-vykpJ1xsdkv0j8WOVXrRFHUAdp9NXHpxdnn1F4pYgSw=",
"owner": "rycee",
"repo": "home-manager",
"rev": "2f23fa308a7c067e52dfcc30a0758f47043ec176",
"rev": "80b0fdf483c5d1cb75aaad909bd390d48673857f",
"type": "github"
},
"original": {
"owner": "rycee",
"ref": "release-24.05",
"ref": "release-24.11",
"repo": "home-manager",
"type": "github"
}
@ -498,16 +498,16 @@
},
"nixpkgs_3": {
"locked": {
"lastModified": 1734529975,
"narHash": "sha256-ze3IJksru9dN0keqUxY0WNf8xrwfs8Ty/z9v/keyBbg=",
"lastModified": 1734737257,
"narHash": "sha256-GIMyMt1pkkoXdCq9un859bX6YQZ/iYtukb9R5luazLM=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "72d11d40b9878a67c38f003c240c2d2e1811e72a",
"rev": "1c6e20d41d6a9c1d737945962160e8571df55daa",
"type": "github"
},
"original": {
"id": "nixpkgs",
"ref": "nixos-24.05",
"ref": "nixos-24.11",
"type": "indirect"
}
},

View File

@ -2,13 +2,13 @@
description = "Michael Thomas's NixOS configuration";
inputs = {
nixpkgs.url = "nixpkgs/nixos-24.05";
nixpkgs.url = "nixpkgs/nixos-24.11";
unstable.url = "nixpkgs/nixos-unstable";
master.url = "github:NixOS/nixpkgs";
nur.url = "github:nix-community/NUR";
home-manager = {
url = "github:rycee/home-manager/release-24.05";
url = "github:rycee/home-manager/release-24.11";
inputs = {
nixpkgs.follows = "nixpkgs";
};

View File

@ -19,8 +19,6 @@
# $ nix search wget
environment.systemPackages = with pkgs; [
wget
micro
gnome.gnome-tweaks
];
# Some programs need SUID wrappers, can be configured further or are

View File

@ -1,6 +1,5 @@
{
# Enable sound.
sound.enable = true;
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;

View File

@ -29,19 +29,19 @@ in {
adw-gtk3
# Applications
gnome.nautilus
gnome.sushi
gnome.eog
gnome.totem
gnome.cheese
gnome.file-roller
gnome.gnome-weather
gnome.gnome-contacts
gnome.gnome-calendar
gnome.gnome-screenshot
gnome.gnome-dictionary
gnome.gnome-font-viewer
gnome.gnome-system-monitor
nautilus
sushi
eog
totem
cheese
file-roller
gnome-weather
gnome-contacts
gnome-calendar
gnome-screenshot
wordbook
gnome-font-viewer
gnome-system-monitor
monophony # music player
# Nvim clipboard

View File

@ -23,10 +23,7 @@ in {
wayland.windowManager.hyprland = {
enable = true;
settings = let
# No gaps or border when only one window
no_gaps_when_only = 1;
in {
settings = {
"$mod" = "SUPER";
general = {
gaps_in = 5;
@ -36,12 +33,6 @@ in {
follow_mouse = 2;
sensitivity = -0.2;
};
dwindle = {
inherit no_gaps_when_only;
};
master = {
inherit no_gaps_when_only;
};
exec-once = [
"hyprctl setcursor Adwaita 24"
"ags"
@ -112,6 +103,17 @@ in {
# mouse bindings
bindm=ALT,mouse:272,movewindow
bindm=ALT,mouse:273,resizewindow
# no gaps when only window
workspace = w[t1], gapsout:0, gapsin:0
workspace = w[tg1], gapsout:0, gapsin:0
workspace = f[1], gapsout:0, gapsin:0
windowrulev2 = bordersize 0, floating:0, onworkspace:w[t1]
windowrulev2 = rounding 0, floating:0, onworkspace:w[t1]
windowrulev2 = bordersize 0, floating:0, onworkspace:w[tg1]
windowrulev2 = rounding 0, floating:0, onworkspace:w[tg1]
windowrulev2 = bordersize 0, floating:0, onworkspace:f[1]
windowrulev2 = rounding 0, floating:0, onworkspace:f[1]
'';
};
@ -131,7 +133,7 @@ in {
home.pointerCursor = {
gtk.enable = true;
name = "Adwaita";
package = pkgs.gnome.adwaita-icon-theme;
package = pkgs.adwaita-icon-theme;
size = 24;
};