Update to nixos 24.05

This commit is contained in:
Valentin Brandl 2024-06-15 16:02:25 +02:00
parent a42578a1b1
commit 6677d36d87
Signed by: vbrandl
GPG Key ID: CAD4DA1A789125F9
8 changed files with 22 additions and 14 deletions

View File

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

View File

@ -75,7 +75,7 @@ in {
home.packages = with pkgs; [ home.packages = with pkgs; [
libsecret libsecret
libnotify libnotify
urlview urlscan
]; ];
home.file.mailcap = { home.file.mailcap = {
target = ".mailcap"; target = ".mailcap";
@ -114,7 +114,7 @@ in {
macros = [ macros = [
{ map = [ "pager" "index" ]; { map = [ "pager" "index" ];
key = "B"; key = "B";
action = "|urlview\\n"; action = "|urlscan\\n";
} }
/*{ map = [ "pager" "index" ]; /*{ map = [ "pager" "index" ];
key = "dd"; key = "dd";

View File

@ -1,6 +1,6 @@
{ ... }: { { ... }: {
qt = { qt = {
enable = true; enable = true;
platformTheme = "gtk"; platformTheme.name = "gtk";
}; };
} }

View File

@ -1,7 +1,7 @@
{ pkgs, ... }: { { pkgs, ... }: {
programs.zsh = { programs.zsh = {
enable = true; enable = true;
enableAutosuggestions = true; autosuggestion.enable = true;
enableCompletion = true; enableCompletion = true;
autocd = true; autocd = true;
dotDir = ".config/zsh"; dotDir = ".config/zsh";

View File

@ -1,7 +1,7 @@
inputs: inputs:
{ config, lib, pkgs, ... }: { { config, lib, pkgs, ... }: {
nix = { nix = {
package = pkgs.nixUnstable; package = pkgs.nixStable;
extraOptions = '' extraOptions = ''
experimental-features = nix-command flakes experimental-features = nix-command flakes
''; '';
@ -86,14 +86,19 @@ inputs:
enable = true; enable = true;
}; };
displayManager = {
defaultSession = "none+i3";
};
xserver = { xserver = {
enable = true; enable = true;
xkb = {
options = "caps:escape";
layout = "eu"; layout = "eu";
xkbOptions = "caps:escape"; };
displayManager = { displayManager = {
defaultSession = "none+i3";
lightdm.enable = true; lightdm.enable = true;
}; };
@ -174,7 +179,7 @@ inputs:
gnupg.agent = { gnupg.agent = {
enable = true; enable = true;
enableSSHSupport = true; enableSSHSupport = true;
pinentryFlavor = "curses"; pinentryPackage = pkgs.pinentry-curses;
}; };
thunar = { thunar = {
enable = true; enable = true;

View File

@ -13,7 +13,7 @@ inputs:
binutils binutils
curl curl
htop htop
nixfmt nixfmt-classic
ripgrep ripgrep
shellcheck shellcheck
tmux tmux
@ -32,7 +32,7 @@ inputs:
#idea.idea-community #idea.idea-community
unstable.jetbrains.idea-community unstable.jetbrains.idea-community
dbeaver dbeaver-bin
]; ];
services.lorri.enable = true; services.lorri.enable = true;

View File

@ -11,6 +11,9 @@ inputs:
spotify spotify
vlc vlc
# podcast app with nextcloud sync
libsForQt5.kasts
teamspeak_client teamspeak_client
# support both 32- and 64-bit applications # support both 32- and 64-bit applications

View File

@ -37,7 +37,7 @@ inputs.nixpkgs.lib.nixosSystem {
}; };
services = { services = {
# enable touchpad support # enable touchpad support
xserver.libinput.enable = true; libinput.enable = true;
blueman.enable = true; blueman.enable = true;
snapper.configs = { snapper.configs = {
home = { home = {