mirror of
https://github.com/gburd/nix-config.git
synced 2024-07-01 23:57:20 +00:00
25.04
This commit is contained in:
parent
28738853a5
commit
2e2524e3d2
|
@ -40,7 +40,7 @@
|
|||
time.timeZone = "America/Detroit";
|
||||
|
||||
# After installing home-manager channel like
|
||||
# nix-channel --add https://github.com/rycee/home-manager/archive/release-23.11.tar.gz home-manager
|
||||
# nix-channel --add https://github.com/rycee/home-manager/archive/release-24.05.tar.gz home-manager
|
||||
# nix-channel --update
|
||||
# you can configure home-manager in here like
|
||||
#home-manager = {
|
||||
|
@ -50,7 +50,7 @@
|
|||
# { config, lib, pkgs, ... }:
|
||||
# {
|
||||
# # Read the changelog before changing this value
|
||||
# home.stateVersion = "23.11";
|
||||
# home.stateVersion = "24.05";
|
||||
#
|
||||
# # insert home-manager config
|
||||
# };
|
||||
|
|
|
@ -227,5 +227,5 @@
|
|||
# this value at the release version of the first install of this system.
|
||||
# Before changing this value read the documentation for this option
|
||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||
system.stateVersion = "23.11"; # Did you read the comment?
|
||||
system.stateVersion = "24.05"; # Did you read the comment?
|
||||
}
|
||||
|
|
16
flake.lock
16
flake.lock
|
@ -603,16 +603,16 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1714043624,
|
||||
"narHash": "sha256-Xn2r0Jv95TswvPlvamCC46wwNo8ALjRCMBJbGykdhcM=",
|
||||
"lastModified": 1717527182,
|
||||
"narHash": "sha256-vWSkg6AMok1UUQiSYVdGMOXKD2cDFnajITiSi0Zjd1A=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "86853e31dc1b62c6eeed11c667e8cdd0285d4411",
|
||||
"rev": "845a5c4c073f74105022533907703441e0464bc3",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"ref": "release-23.11",
|
||||
"ref": "release-24.05",
|
||||
"repo": "home-manager",
|
||||
"type": "github"
|
||||
}
|
||||
|
@ -1081,16 +1081,16 @@
|
|||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1717159533,
|
||||
"narHash": "sha256-oamiKNfr2MS6yH64rUn99mIZjc45nGJlj9eGth/3Xuw=",
|
||||
"lastModified": 1717555607,
|
||||
"narHash": "sha256-WZ1s48OODmRJ3DHC+I/DtM3tDRuRJlNqMvxvAPTD7ec=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "a62e6edd6d5e1fa0329b8653c801147986f8d446",
|
||||
"rev": "0b8e7a1ae5a94da2e1ee3f3030a32020f6254105",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-23.11",
|
||||
"ref": "nixos-24.05",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
description = "Greg Burd's NixOS and Home Manager Configuration";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
|
||||
# You can access packages and modules from different nixpkgs revs at the
|
||||
# same time. See 'unstable-packages' overlay in 'overlays/default.nix'.
|
||||
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
|
@ -13,7 +13,7 @@
|
|||
disko.url = "github:nix-community/disko";
|
||||
disko.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
home-manager.url = "github:nix-community/home-manager/release-23.11";
|
||||
home-manager.url = "github:nix-community/home-manager/release-24.05";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs-unstable";
|
||||
|
||||
# Chaotic's Nyx provides many additional packages like NordVPN
|
||||
|
@ -34,7 +34,7 @@
|
|||
devshells.url = "github:gburd/devshells";
|
||||
devshells.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
# Android support with nix-on-droid. Currently not updated for 23.11
|
||||
# Android support with nix-on-droid. Currently not updated for 24.05
|
||||
nix-on-droid.url = "github:nix-community/nix-on-droid/release-23.05";
|
||||
nix-on-droid.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
|
@ -67,7 +67,7 @@
|
|||
} @ inputs:
|
||||
let
|
||||
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||
stateVersion = "23.11";
|
||||
stateVersion = "24.05";
|
||||
|
||||
inherit (self) outputs;
|
||||
libx = import ./lib { inherit self inputs outputs stateVersion; };
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
timer # To help with my ADHD paralysis
|
||||
|
||||
nil # Nix LSP
|
||||
nixfmt # Nix formatter
|
||||
nixfmt-rfc-style # Nix formatter
|
||||
nix-inspect # See which pkgs are in your PATH
|
||||
|
||||
ltex-ls # Spell checking LSP
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
let
|
||||
pinentry =
|
||||
if config.gtk.enable then {
|
||||
packages = [ pkgs.pinentry-gnome pkgs.gcr ];
|
||||
packages = [ pkgs.pinentry-gnome3 pkgs.gcr ];
|
||||
name = "gnome3";
|
||||
} else {
|
||||
packages = [ pkgs.pinentry-curses ];
|
||||
|
@ -18,8 +18,7 @@ in
|
|||
enable = true;
|
||||
enableSshSupport = true;
|
||||
# TODO: sshKeys = [ "149F16412997785363112F3DBD713BC91D51B831" ];
|
||||
# TODO: pinentryFlavor = pinentry.name;
|
||||
pinentryFlavor = "curses";
|
||||
pinentryPackage = pkgs.pinentry-curses;
|
||||
enableExtraSocket = true;
|
||||
};
|
||||
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
packages = with pkgs; [
|
||||
asciinema # Terminal recorder
|
||||
breezy # Terminal bzr client
|
||||
butler # Terminal Itch.io API client
|
||||
chafa # Terminal image viewer
|
||||
dconf2nix # Nix code from Dconf files
|
||||
diffr # Modern Unix `diff`
|
||||
|
@ -113,7 +112,6 @@
|
|||
};
|
||||
eza = {
|
||||
enable = true;
|
||||
enableAliases = true;
|
||||
icons = true;
|
||||
};
|
||||
fish = {
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
gpg-agent = {
|
||||
enable = true;
|
||||
enableSshSupport = true;
|
||||
pinentryFlavor = "curses";
|
||||
pinentryPackage = pkgs.pinentry-curses;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -113,7 +113,6 @@
|
|||
toml-mode
|
||||
web-mode
|
||||
writegood-mode
|
||||
ws-butler
|
||||
yaml-mode))
|
||||
#+end_src
|
||||
** Package Management
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
;; If there is more than one, they won't work right.
|
||||
'(package-selected-packages
|
||||
(quote
|
||||
(yaml-mode ws-butler writegood-mode web-mode toml-mode terraform-mode solarized-theme sml-mode smex scala-mode rvm rust-mode restclient python-pep8 python-mode puppet-mode php-mode pastebin paredit o-blog nodejs-repl nixos-options nix-mode multi-web-mode marmalade markdown-mode magit lua-mode intellij-theme htmlize haskell-mode haml-mode hackernews graphviz-dot-mode google-this google-c-style go-mode gist flycheck-rust flycheck-pos-tip flycheck-ocaml flycheck-google-cpplint flycheck-cask flx-isearch flx-ido feature-mode erlang eredis elixir-mode elixir-mix deft csharp-mode company-cmake company-c-headers color-theme-sanityinc-tomorrow coffee-mode cmake-mode clojure-mode autopair ag ac-slime))))
|
||||
(yaml-mode writegood-mode web-mode toml-mode terraform-mode solarized-theme sml-mode smex scala-mode rvm rust-mode restclient python-pep8 python-mode puppet-mode php-mode pastebin paredit o-blog nodejs-repl nixos-options nix-mode multi-web-mode marmalade markdown-mode magit lua-mode intellij-theme htmlize haskell-mode haml-mode hackernews graphviz-dot-mode google-this google-c-style go-mode gist flycheck-rust flycheck-pos-tip flycheck-ocaml flycheck-google-cpplint flycheck-cask flx-isearch flx-ido feature-mode erlang eredis elixir-mode elixir-mix deft csharp-mode company-cmake company-c-headers color-theme-sanityinc-tomorrow coffee-mode cmake-mode clojure-mode autopair ag ac-slime))))
|
||||
(custom-set-faces
|
||||
;; custom-set-faces was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
|
|
|
@ -85,7 +85,6 @@ with lib.hm.gvariant;
|
|||
dig
|
||||
emacs
|
||||
file
|
||||
git-credential-1password
|
||||
htop
|
||||
openssl
|
||||
plocate
|
||||
|
|
|
@ -7,7 +7,7 @@ let
|
|||
in
|
||||
{
|
||||
environment = {
|
||||
systemPackages = with pkgs; [ vulkan-tools nvtop ];
|
||||
systemPackages = with pkgs; [ vulkan-tools nvtopPackages.full ];
|
||||
|
||||
variables = {
|
||||
VK_DRIVER_FILES = builtins.concatStringsSep ":" vulkanDriverFiles;
|
||||
|
|
|
@ -2,7 +2,7 @@ _: {
|
|||
services = {
|
||||
avahi = {
|
||||
enable = true;
|
||||
nssmdns = true;
|
||||
nssmdns4 = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -36,5 +36,5 @@ in
|
|||
networking.firewall.allowedTCPPorts = [ 22 ];
|
||||
|
||||
# Passwordless sudo when SSH'ing with keys
|
||||
security.pam.enableSSHAgentAuth = true;
|
||||
security.pam.sshAgentAuth.enable = true;
|
||||
}
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
++ lib.optional (builtins.pathExists (../.. + "/desktop/${desktop}-apps.nix")) ../../desktop/${desktop}-apps.nix;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
authy
|
||||
audio-recorder
|
||||
gimp-with-plugins
|
||||
gnome.gnome-clocks
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
];
|
||||
};
|
||||
time.timeZone = lib.mkDefault "America/New_York";
|
||||
services.xserver.layout = "us";
|
||||
services.xserver.xkb.layout = "us";
|
||||
|
||||
# Increase open file limit for sudoers
|
||||
security.pam.loginLimits = [
|
||||
|
|
|
@ -13,5 +13,5 @@
|
|||
];
|
||||
};
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
system.stateVersion = "24.05";
|
||||
}
|
||||
|
|
|
@ -136,5 +136,5 @@ in
|
|||
# this value at the release version of the first install of this system.
|
||||
# Before changing this value read the documentation for this option
|
||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||
system.stateVersion = "23.11"; # Did you read the comment?
|
||||
system.stateVersion = "24.05"; # Did you read the comment?
|
||||
}
|
||||
|
|
|
@ -60,11 +60,11 @@
|
|||
font-size=12
|
||||
xkb-layout=us
|
||||
'';
|
||||
services.xserver.layout = lib.mkForce "us";
|
||||
services.xserver.xkbOptions = "ctrl:swapcaps";
|
||||
services.xserver.xkb.layout = lib.mkForce "us";
|
||||
services.xserver.xkb.options = "ctrl:swapcaps";
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
nvtop-amd
|
||||
nvtopPackages.full
|
||||
man-pages
|
||||
man-pages-posix
|
||||
];
|
||||
|
|
|
@ -13,5 +13,5 @@
|
|||
];
|
||||
};
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
system.stateVersion = "24.05";
|
||||
}
|
||||
|
|
|
@ -23,11 +23,11 @@
|
|||
kubectl
|
||||
];
|
||||
};
|
||||
#services.dbus.packages = [ pkgs.gcr ];
|
||||
services.dbus.packages = [ pkgs.gcr ];
|
||||
#services.pcscd.enable = true;
|
||||
services.gnupg.agent = {
|
||||
enable = true;
|
||||
pinentryFlavor = "curses";
|
||||
pinentryPackage = pkgs.pinentry-curses;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
description = "Nix shell for code-format tools";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/release-23.11";
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/release-24.05";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
description = "Nix shell for file sync tools";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/release-23.11";
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/release-24.05";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
description = "Nix shell for GPU tools";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/release-23.11";
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/release-24.05";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
description = "Nix shell for network tools";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/release-23.11";
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/release-24.05";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue