Skip to content

Commit 6820e64

Browse files
committed
feat: remove deprecated fields
1 parent 8901eea commit 6820e64

File tree

6 files changed

+39
-40
lines changed

6 files changed

+39
-40
lines changed

custom_modules/core_services.nix

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ in
8484

8585
services.openssh = {
8686
enable = true;
87-
passwordAuthentication = false;
87+
settings.PasswordAuthentication = false;
8888
};
8989
programs.ssh = {
9090
forwardX11 = true;
@@ -99,7 +99,7 @@ in
9999

100100
services.locate = {
101101
enable = true;
102-
locate = pkgs.unstable.mlocate;
102+
package = pkgs.unstable.mlocate;
103103
localuser = null; # mlocate does not support this option so it must be null
104104
interval = "weekly";
105105
pruneNames = [
@@ -264,12 +264,12 @@ in
264264
];
265265

266266
nix = {
267-
binaryCaches = [
268-
"https://jrestivo.cachix.org"
269-
];
270-
binaryCachePublicKeys = [
271-
"jrestivo.cachix.org-1:+jSOsXAAOEjs+DLkybZGQEEIbPG7gsKW1hPwseu03OE="
272-
];
267+
# binaryCaches = [
268+
# "https://jrestivo.cachix.org"
269+
# ];
270+
# binaryCachePublicKeys = [
271+
# "jrestivo.cachix.org-1:+jSOsXAAOEjs+DLkybZGQEEIbPG7gsKW1hPwseu03OE="
272+
# ];
273273

274274
/*warn-dirty = true;*/
275275
extraOptions = ''
@@ -286,16 +286,13 @@ in
286286
"https://cache.nixos.org"
287287
"https://cuda-maintainers.cachix.org"
288288
"https://cachix.cachix.org"
289-
"https://gytix.cachix.org/"
290-
"https://jrestivo.cachix.org"
289+
# "https://jrestivo.cachix.org"
291290
"http://nix-community.cachix.org/"
292291
];
293292
settings.trusted-public-keys = [
294293
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
295294
"cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E="
296295
"cachix.cachix.org-1:eWNHQldwUO7G2VkjpnjDbWwy4KQ/HNxht7H4SSoMckM="
297-
"gytix.cachix.org-1:JXNZBxYslCV/hAkfNvJgyxlWb8jRQRKc+M0h7AaFg7Y="
298-
"jrestivo.cachix.org-1:+jSOsXAAOEjs+DLkybZGQEEIbPG7gsKW1hPwseu03OE="
299296
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
300297
];
301298
gc = {

custom_modules/workstation_services.nix

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,22 +85,22 @@ in
8585
};
8686

8787
config = lib.mkIf cfg.enable {
88+
services.desktopManager.plasma6.enable = true;
89+
services.libinput.enable = true;
90+
services.displayManager.sddm.enable = true;
8891
# weird bug. Need this in order to get xmonad to work in home-manager.
8992
services.xserver = {
9093
enable = true;
91-
layout = "us";
94+
xkb.layout = "us";
9295
# displayManager = { lightdm.enable = true; };
9396
windowManager.i3 = {
9497
enable = true;
9598
package = pkgs.i3-gaps;
9699
extraPackages = with pkgs; [ rofi ];
97100
};
98-
displayManager.sddm.enable = true;
99-
desktopManager.plasma6.enable = true;
100101

101102
# desktopManager.gnome.enable = true;
102103
# .gdm.enable = true;
103-
libinput.enable = true;
104104
desktopManager.gnome.enable = true;
105105
# displayManager.gdm.enable = true;
106106
# windowManager.bspwm.enable = true;
@@ -116,9 +116,9 @@ in
116116
virtualisation.docker = {
117117
enable = true;
118118
autoPrune.enable = true;
119-
enableNvidia = true;
120119
enableOnBoot = true;
121120
};
121+
hardware.nvidia-container-toolkit.enable = true;
122122

123123
boot.plymouth = {
124124
/*TODO add in custom boot icons*/
@@ -144,7 +144,7 @@ in
144144
virtualizationPack
145145
];
146146

147-
fonts.fonts = with pkgs;
147+
fonts.packages = with pkgs;
148148
[
149149
d2coding
150150
# iosevka

flake.lock

Lines changed: 21 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,6 @@
5656
flake = false;
5757
};
5858

59-
rust-overlay = {
60-
url = "github:oxalica/rust-overlay";
61-
inputs.nixpkgs.follows = "nixpkgs";
62-
inputs.flake-utils.follows = "flake-utils";
63-
};
64-
6559
my-nvim = {
6660
url = "github:DieracDelta/vimconfig";
6761
};
@@ -102,7 +96,6 @@
10296
url = "github:DieracDelta/filehost_rust";
10397
inputs.nixpkgs.follows = "nixpkgs";
10498
inputs.naersk.follows = "naersk";
105-
inputs.rust-overlay.follows = "rust-overlay";
10699
inputs.utils.follows = "flake-utils";
107100
};
108101

@@ -112,7 +105,6 @@
112105
inputs@{ self
113106
, nixpkgs
114107
# , nyxt_nixpkgs
115-
, rust-overlay
116108
, home-manager
117109
, emacs-overlay
118110
, nix-doom-emacs
@@ -305,7 +297,6 @@
305297
{
306298
nixpkgs.config.allowUnfree = true;
307299
nixpkgs.overlays = [
308-
inputs.rust-overlay.overlay
309300
(final: prev: {
310301
nvim = my-nvim.defaultPackage.aarch64-darwin;
311302
#nixVeryUnstable = inputs.master.legacyPackages.aarch64-darwin.nixUnstable;

hosts/hw/desktop.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
# environment.systemPackages = with pkgs; [ trezord trezor-udev-rules python310Packages.trezor_agent python310Packages.trezor ];
4545
services.trezord.enable = true;
4646
# environment.sessionVariables.AMD_VULKAN_ICD = "RADV";
47-
hardware.opengl.extraPackages = with pkgs; [ /* amdvlk */ /* rocmPackages.clr.icd */];
47+
# hardware.opengl.extraPackages = with pkgs; [ /* amdvlk */ /* rocmPackages.clr.icd */];
4848

4949
environment.variables = { };
5050

hosts/hw/shared.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
hardware.enableRedistributableFirmware = lib.mkDefault true;
66

77
# steam shit
8-
hardware.opengl.enable = true;
9-
hardware.opengl.driSupport32Bit = true;
8+
hardware.graphics.enable = true;
9+
hardware.graphics.enable32Bit = true;
1010
hardware.pulseaudio.support32Bit = true;
1111
# zramSwap.enable = true;
1212

0 commit comments

Comments
 (0)