File tree Expand file tree Collapse file tree 7 files changed +31
-26
lines changed Expand file tree Collapse file tree 7 files changed +31
-26
lines changed Original file line number Diff line number Diff line change 3
3
4
4
inputs = {
5
5
# Nixpkgs
6
- nixpkgs . url = "github:nixos/nixpkgs/nixos-23.11 " ;
6
+ nixpkgs . url = "github:nixos/nixpkgs/nixos-24.05 " ;
7
7
8
8
# Nixpkgs unstable
9
9
# pull request: https://github.com/NixOS/nixpkgs/pull/311047
10
10
nixpkgs-unstable . url = "github:nixos/nixpkgs/817c3eccc985907e3cf8137232aa9a9715f695c8" ;
11
11
12
12
# Home manager
13
- home-manager . url = "github:nix-community/home-manager/release-23.11 " ;
13
+ home-manager . url = "github:nix-community/home-manager/release-24.05 " ;
14
14
home-manager . inputs . nixpkgs . follows = "nixpkgs" ;
15
15
16
16
# NixOS WSL
17
- nixos-wsl . url = "github:nix-community/nixos-wsl/2311 .5.3 " ;
17
+ nixos-wsl . url = "github:nix-community/nixos-wsl/2405 .5.4 " ;
18
18
} ;
19
19
20
20
outputs =
Original file line number Diff line number Diff line change 48
48
} ;
49
49
} ;
50
50
programs . command-not-found . enable = true ;
51
- programs . direnv . enable = true ;
51
+ programs . direnv = {
52
+ enable = true ;
53
+ nix-direnv . enable = true ;
54
+ } ;
52
55
programs . fzf . enable = true ;
53
56
programs . gh = {
54
57
enable = true ;
115
118
} ;
116
119
programs . zsh = {
117
120
enable = true ;
118
- enableAutosuggestions = true ;
121
+ autosuggestion = {
122
+ enable = true ;
123
+ } ;
119
124
initExtraFirst = ''
120
125
source $HOME/.p10k.zsh
121
126
${ builtins . readFile ./zsh/instant-prompt.zsh }
Original file line number Diff line number Diff line change 52
52
systemd . user . startServices = "sd-switch" ;
53
53
54
54
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
55
- home . stateVersion = "23.11 " ;
55
+ home . stateVersion = "24.05 " ;
56
56
57
57
home . file . "Brewfile" . text = ( builtins . readFile ./Brewfile ) ;
58
58
home . file . "Brewfile.lock.json" . text = ( builtins . readFile ./Brewfile.lock.json ) ;
Original file line number Diff line number Diff line change 52
52
systemd . user . startServices = "sd-switch" ;
53
53
54
54
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
55
- home . stateVersion = "23.11 " ;
55
+ home . stateVersion = "24.05 " ;
56
56
57
57
services . gpg-agent = {
58
58
enable = true ;
59
59
enableZshIntegration = false ;
60
60
defaultCacheTtl = 86400 ; # 1 day
61
61
enableSshSupport = true ;
62
62
maxCacheTtl = 604800 ; # 1 week
63
- pinentryFlavor = " curses" ;
63
+ pinentryPackage = pkgs . pinentry- curses;
64
64
} ;
65
65
services . syncthing . enable = true ;
66
66
}
Original file line number Diff line number Diff line change 91
91
} ;
92
92
93
93
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
94
- system . stateVersion = "23.11 " ;
94
+ system . stateVersion = "24.05 " ;
95
95
96
96
programs . zsh . enable = true ;
97
97
users . defaultUserShell = pkgs . zsh ;
Original file line number Diff line number Diff line change 22
22
# this value at the release version of the first install of this system.
23
23
# Before changing this value read the documentation for this option
24
24
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
25
- system . stateVersion = "23.11 " ; # Did you read the comment?
25
+ system . stateVersion = "24.05 " ; # Did you read the comment?
26
26
27
27
# NOTE: error: Neither nixpkgs.hostPlatform nor the legacy option nixpkgs.system has been set.
28
28
nixpkgs . hostPlatform = lib . mkDefault "x86_64-linux" ;
You can’t perform that action at this time.
0 commit comments