mirror of
https://github.com/davegallant/nix-config
synced 2025-08-06 11:23:40 +00:00
Switch to pkgs.linuxPackages for stable kernel
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
boot.kernelPackages = pkgs.linuxPackages;
|
||||||
boot.supportedFilesystems = [ "ntfs" ];
|
boot.supportedFilesystems = [ "ntfs" ];
|
||||||
|
|
||||||
system.stateVersion = "unstable";
|
system.stateVersion = "unstable";
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
nixpkgs.config = {
|
nixpkgs.config = {
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
permittedInsecurePackages = [
|
permittedInsecurePackages = [
|
||||||
/* "electron-9.4.4" */ # authy is currently stuck on electron_9
|
"electron-9.4.4" # authy is currently stuck on electron_9
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -157,42 +157,44 @@ in
|
|||||||
] ++ lib.optionals stdenv.isLinux ([
|
] ++ lib.optionals stdenv.isLinux ([
|
||||||
_1password-gui
|
_1password-gui
|
||||||
albert
|
albert
|
||||||
/* authy */
|
authy
|
||||||
calibre
|
|
||||||
cryptsetup
|
|
||||||
glibcLocales
|
|
||||||
gnome3.gnome-tweaks
|
|
||||||
gnomeExtensions.appindicator
|
|
||||||
guake
|
|
||||||
kazam
|
|
||||||
linuxPackages.perf
|
|
||||||
pavucontrol
|
|
||||||
pinentry-curses
|
|
||||||
qemu
|
|
||||||
rtorrent
|
|
||||||
rustup
|
|
||||||
spotify
|
|
||||||
strace
|
|
||||||
usbutils
|
|
||||||
virtmanager
|
|
||||||
vlc
|
|
||||||
# Unsupported / broken on darwin:
|
|
||||||
aws-sam-cli
|
aws-sam-cli
|
||||||
bitwarden
|
bitwarden
|
||||||
brave
|
brave
|
||||||
|
calibre
|
||||||
|
cryptsetup
|
||||||
deluge
|
deluge
|
||||||
discord
|
discord
|
||||||
firefox
|
firefox
|
||||||
gimp
|
gimp
|
||||||
|
glibcLocales
|
||||||
|
gnome3.gnome-tweaks
|
||||||
|
gnomeExtensions.appindicator
|
||||||
google-chrome
|
google-chrome
|
||||||
|
guake
|
||||||
|
kazam
|
||||||
|
linuxPackages.perf
|
||||||
minecraft
|
minecraft
|
||||||
|
mojave-gtk-theme
|
||||||
netdata
|
netdata
|
||||||
|
pavucontrol
|
||||||
|
pinentry-curses
|
||||||
postman
|
postman
|
||||||
|
qemu
|
||||||
rfd
|
rfd
|
||||||
|
rtorrent
|
||||||
|
rustup
|
||||||
signal-desktop
|
signal-desktop
|
||||||
slack
|
slack
|
||||||
|
spotify
|
||||||
steam
|
steam
|
||||||
|
strace
|
||||||
tailscale
|
tailscale
|
||||||
|
usbutils
|
||||||
|
virtmanager
|
||||||
|
vlc
|
||||||
|
wireshark-qt
|
||||||
|
yaru-theme
|
||||||
zoom-us
|
zoom-us
|
||||||
]);
|
]);
|
||||||
in
|
in
|
||||||
|
48
flake.lock
generated
48
flake.lock
generated
@@ -7,11 +7,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1647173930,
|
"lastModified": 1648278671,
|
||||||
"narHash": "sha256-8oca3Pc68VrCp8HeOtHmzs5g0rdQnPO9beDEEZJ02W0=",
|
"narHash": "sha256-1WrR9ex+rKTjZtODNUZQhkWYUprtfOkjOyo9YWL2NMs=",
|
||||||
"owner": "lnl7",
|
"owner": "lnl7",
|
||||||
"repo": "nix-darwin",
|
"repo": "nix-darwin",
|
||||||
"rev": "17fbc68a6110edbff67e55f7450230a697ecb17e",
|
"rev": "4fdbb8168f61d31d3f90bb0d07f48de709c4fe79",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -23,11 +23,11 @@
|
|||||||
"flake-compat": {
|
"flake-compat": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1641205782,
|
"lastModified": 1648199409,
|
||||||
"narHash": "sha256-4jY7RCWUoZ9cKD8co0/4tFARpWB+57+r1bLLvXNJliY=",
|
"narHash": "sha256-JwPKdC2PoVBkG6E+eWw3j6BMR6sL3COpYWfif7RVb8Y=",
|
||||||
"owner": "edolstra",
|
"owner": "edolstra",
|
||||||
"repo": "flake-compat",
|
"repo": "flake-compat",
|
||||||
"rev": "b7547d3eed6f32d06102ead8991ec52ab0a4f1a7",
|
"rev": "64a525ee38886ab9028e6f61790de0832aa3ef03",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -58,11 +58,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1647979468,
|
"lastModified": 1648917498,
|
||||||
"narHash": "sha256-mavkG6rOyM5NPcb/hEmZQwRZaJeaa7XFfWTWf0TNCo0=",
|
"narHash": "sha256-fdyVHsP6XeyCk9FRyjV6Wv+7qiOzWxykGXdNixadvyg=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "48a1584d8ba427dd9d74e2b2b842c70a6dd9c4fa",
|
"rev": "cfab869fcebc56710be6ec3aca76036b25c04a0d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -81,11 +81,11 @@
|
|||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"dir": "contrib",
|
"dir": "contrib",
|
||||||
"lastModified": 1647990454,
|
"lastModified": 1648949219,
|
||||||
"narHash": "sha256-d5vlmZX2xjb6T1Tx8tPlSm5e7Tv0UyKv/fTJoMHzKMQ=",
|
"narHash": "sha256-gJrYhdeC7wuNMWJtILUqm+FjzaBock+RHhgMCHL6IwQ=",
|
||||||
"owner": "neovim",
|
"owner": "neovim",
|
||||||
"repo": "neovim",
|
"repo": "neovim",
|
||||||
"rev": "7735163652cd9082ef89cb31707ca77df12f7b70",
|
"rev": "6786b6afade97771027fda3c1438969def320cc5",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -102,11 +102,11 @@
|
|||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1648023642,
|
"lastModified": 1648973670,
|
||||||
"narHash": "sha256-yKJYbSNR2gvBoaBOs2J7uc92/6qkpbM/7ciysKtnCFI=",
|
"narHash": "sha256-MJNofHXSKFMGwHe4P4zE+u/4wijTOEABg2dQ82Uj4xI=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "neovim-nightly-overlay",
|
"repo": "neovim-nightly-overlay",
|
||||||
"rev": "3018bd21b70bc3008f1ffbd3e68efdd31d58a1b8",
|
"rev": "89d60799d43d847d7a88a8485e96731d1fe2d685",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -117,11 +117,11 @@
|
|||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1648022149,
|
"lastModified": 1648141026,
|
||||||
"narHash": "sha256-xhDjF807UZwC2I6EGYrH1o8Mzr6w8bBruGOmHAcWO/Q=",
|
"narHash": "sha256-h8e3+5EZFbYHTMb0DN2ACuQTJBNHpqigvmEV1w2WIuE=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "a352d867273cf4a245d890f8a2cfcfabd29c5c63",
|
"rev": "feceb4d24f582817d8f6e737cd40af9e162dee05",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -133,11 +133,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1647800324,
|
"lastModified": 1648632716,
|
||||||
"narHash": "sha256-rjwoxrk16zfrcO5Torh6CbAd5GHsHrXw+EwxOvh9AUI=",
|
"narHash": "sha256-kCmnDeiaMsdhfnNKjxdOzwRh2H6eQb8yWAL+nNabC/Y=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "9bc841fec1c0e8b9772afa29f934d2c7ce57da8e",
|
"rev": "710fed5a2483f945b14f4a58af2cd3676b42d8c8",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -149,11 +149,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1647800324,
|
"lastModified": 1648632716,
|
||||||
"narHash": "sha256-rjwoxrk16zfrcO5Torh6CbAd5GHsHrXw+EwxOvh9AUI=",
|
"narHash": "sha256-kCmnDeiaMsdhfnNKjxdOzwRh2H6eQb8yWAL+nNabC/Y=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "9bc841fec1c0e8b9772afa29f934d2c7ce57da8e",
|
"rev": "710fed5a2483f945b14f4a58af2cd3676b42d8c8",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@@ -52,7 +52,10 @@
|
|||||||
registry = { nixpkgs.flake = nixpkgs; };
|
registry = { nixpkgs.flake = nixpkgs; };
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs.overlays = [ (import ./modules/overlays) inputs.neovim-nightly-overlay.overlay ];
|
nixpkgs.overlays = [
|
||||||
|
(import ./modules/overlays)
|
||||||
|
inputs.neovim-nightly-overlay.overlay
|
||||||
|
];
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
|
BIN
home/.aws/config
BIN
home/.aws/config
Binary file not shown.
@@ -37,10 +37,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
services.sshd.enable = true;
|
services.sshd.enable = true;
|
||||||
|
|
||||||
services.tailscale = { enable = true; };
|
services.tailscale = { enable = true; };
|
||||||
|
|
||||||
services.xserver.videoDrivers = [ "nvidia" ];
|
services.xserver.videoDrivers = [ "nvidia" ];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user