Skip to content

Commit

Permalink
chore: upgrade to nixos-24.11 beta
Browse files Browse the repository at this point in the history
  • Loading branch information
mrnossiom committed Nov 22, 2024
1 parent 715c02c commit daa705c
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 34 deletions.
16 changes: 8 additions & 8 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
description = "NixOS and Home Manager configuration for Milo's laptops";

inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";

home-manager.url = "github:nix-community/home-manager/release-24.05";
home-manager.url = "github:nix-community/home-manager/release-24.11";
home-manager.inputs.nixpkgs.follows = "nixpkgs";

nix-darwin.url = "github:LnL7/nix-darwin";
Expand Down
2 changes: 0 additions & 2 deletions home-manager/fragments/git.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
, lib
, pkgs
, lpkgs
, upkgs
, ...
}:

Expand Down Expand Up @@ -148,7 +147,6 @@ in

programs.jujutsu = {
enable = true;
package = upkgs.jujutsu;
settings = {
user = {
name = "Milo Moisson";
Expand Down
2 changes: 0 additions & 2 deletions home-manager/fragments/helix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
, config
, pkgs
, lpkgs
, upkgs
, lib
, ...
}:
Expand Down Expand Up @@ -96,7 +95,6 @@ in
taplo
typst-lsp
vscode-langservers-extracted
upkgs.vue-language-server
yaml-language-server
] ++ lib.optionals (!flags.onlyCached) [
lpkgs.wakatime-ls
Expand Down
5 changes: 2 additions & 3 deletions home-manager/fragments/tools.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ in
man-pages

# TUIs
upkgs.binsider
btop
glow

Expand All @@ -44,13 +43,13 @@ in
pv
ripgrep
speedtest-go
upkgs.srgn
srgn
sshfs
tealdeer
termimage
tokei
trash-cli
upkgs.wcurl
wcurl
]) ++ lib.optionals (!flags.onlyCached) [
lpkgs.otree
lpkgs.sweep
Expand Down
4 changes: 1 addition & 3 deletions home-manager/fragments/vm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
, config
, lib
, pkgs
, upkgs
, ...
}:

Expand Down Expand Up @@ -268,7 +267,7 @@ in
(map
(modifier: {
"${modifier}+Return" = "exec ${cfg-sway.terminal}";
"${modifier}+Shift+Return" = "exec ${lib.getExe' pkgs.gnome.nautilus "nautilus"}";
"${modifier}+Shift+Return" = "exec ${lib.getExe' pkgs.nautilus "nautilus"}";
"${modifier}+Shift+q" = "kill";
"${modifier}+d" = "exec ${cfg-sway.menu}";
"${modifier}+Space" = "exec ${makoctl} dismiss";
Expand Down Expand Up @@ -343,7 +342,6 @@ in

services.darkman = {
enable = true;
package = upkgs.darkman;
settings.usegeoclue = true;

darkModeScripts.gtk-theme = ''
Expand Down
2 changes: 1 addition & 1 deletion home-manager/fragments/xdg-mime.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ in
{ assertion = config.programs.firefox.enable; message = "`xdg-mime` fragment depends on `firefox` program"; }
{ assertion = config.programs.imv.enable; message = "`xdg-mime` fragment depends on `imv` program"; }
{ assertion = config.programs.kitty.enable; message = "`xdg-mime` fragment depends on `kitty` program"; }
{ assertion = lib.lists.count (drv: (drv.pname or "") == pkgs.gnome.nautilus.pname) config.home.packages > 0; message = "`xdg-mime` fragment depends on `nautilus` program"; }
{ assertion = lib.lists.count (drv: (drv.pname or "") == pkgs.nautilus.pname) config.home.packages > 0; message = "`xdg-mime` fragment depends on `nautilus` program"; }
];

xdg.mimeApps = {
Expand Down
15 changes: 8 additions & 7 deletions home-manager/profiles/desktop.nix
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ in
packages = with pkgs; [
# Unfree
spotify
upkgs.unityhub
unityhub
## JetBrains
jetbrains-toolbox
jetbrains.datagrip
Expand All @@ -80,24 +80,25 @@ in
audacity
blender
bottles
calibre
cura
# TODO: wait for fix in stable
# calibre
# cura
element-desktop
evince
gnome.file-roller
gnome.gnome-disk-utility
gnome.nautilus
gnome.simple-scan
file-roller
gnome-disk-utility
heroic
insomnia
libreoffice-qt
localsend
lutris
mpv
nautilus
obs-studio
pavucontrol
prismlauncher
rawtherapee
simple-scan
transmission_4-gtk
vesktop
wdisplays
Expand Down
5 changes: 1 addition & 4 deletions nixos/profiles/laptop.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,7 @@ in
"10.2.3.154" = [ "printer.epita" ];
};

hardware.opengl = {
enable = true;
driSupport = true;
};
hardware.graphics.enable = true;

boot = {
kernelParams = [ "quiet" ];
Expand Down
4 changes: 2 additions & 2 deletions overlays/patches.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ with final.lib;
src = prev.fetchFromGitHub {
owner = "mrnossiom";
repo = "swaylock";
rev = "0e09892e93b82f6de2fcf10a773d5fbf9de61d73";
hash = "sha256-IzgrQv/oJEyvlVlZCm/2LOhpxR4KfSz7llSq3s9t/qM=";
rev = "5aebb558663bebb09b86d6c4ca9b760791507b88";
hash = "sha256-1XotT0XKoDyg7ytzoqgxdHHA64oce4b8CZU53luI5j0=";
};
});
}
1 change: 1 addition & 0 deletions shells.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ in
lpkgs.agenix
home-manager
just
nix-tree
]);

# Add presets that I can quickly use
Expand Down

0 comments on commit daa705c

Please sign in to comment.