Compare commits

...

1 commit

Author SHA1 Message Date
Benson Chu
8aea4a5108 Upgrade to 24.05? 2024-07-02 20:10:59 -05:00
12 changed files with 60 additions and 48 deletions

View file

@ -63,6 +63,6 @@
# this value at the release version of the first install of this system. # this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option # Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). # (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?
} }

View file

@ -14,6 +14,6 @@
llvmPackages_16.libllvm llvmPackages_16.libllvm
rr rr
nodejs_21 nodejs_22
]; ];
} }

View file

@ -7,17 +7,25 @@
networkmanagerapplet networkmanagerapplet
]; ];
services.xserver.windowManager.exwm = { services = {
enable = true; xserver.windowManager.exwm = {
enableDefaultConfig = false; enable = true;
enableDefaultConfig = false;
};
# gpg-agent = {
# enable = true;
# pinentryFlavor = "gtk2";
# };
}; };
programs = { programs = {
nm-applet.enable = true; nm-applet.enable = true;
gnupg.agent = { gnupg.agent = {
enable = true; enable = true;
pinentryFlavor = "gtk2";
enableSSHSupport = true; enableSSHSupport = true;
pinentryPackage = pkgs.pinentry-gtk2;
}; };
}; };

View file

@ -16,7 +16,7 @@
# Enable auto-discovery of printers # Enable auto-discovery of printers
avahi = { avahi = {
enable = true; enable = true;
nssmdns = true; nssmdns4 = true;
openFirewall = true; openFirewall = true;
}; };
}; };

View file

@ -29,21 +29,23 @@
# Enable the KDE Plasma Desktop Environment. # Enable the KDE Plasma Desktop Environment.
desktopManager.plasma5.enable = true; desktopManager.plasma5.enable = true;
# Enable sddm, add exwm
displayManager = {
sddm.enable = true;
defaultSession = "none+exwm";
};
# Configure keymap in X11 # Configure keymap in X11
layout = "us"; xkb = {
xkbVariant = ""; layout = "us";
variant = "";
};
};
libinput = { # Enable sddm, add exwm
enable = true; services.displayManager = {
touchpad = { sddm.enable = true;
naturalScrolling = true; defaultSession = "none+exwm";
}; };
services.libinput = {
enable = true;
touchpad = {
naturalScrolling = true;
}; };
}; };
@ -88,14 +90,16 @@
yt-dlp yt-dlp
dconf dconf
(beets.override { # TODO: Re-enable extrafiles
pluginOverrides = { (beets# .override {
extrafiles = { # pluginOverrides = {
enable = true; # extrafiles = {
propagatedBuildInputs = [ beetsPackages.extrafiles ]; # enable = true;
}; # propagatedBuildInputs = [ beetsPackages.extrafiles ];
}; # };
}) # };
# }
)
(gnuplot.override { withQt = true; }) (gnuplot.override { withQt = true; })
]; ];

View file

@ -65,16 +65,16 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1704099619, "lastModified": 1719827385,
"narHash": "sha256-QRVMkdxLmv+aKGjcgeEg31xtJEIsYq4i1Kbyw5EPS6g=", "narHash": "sha256-qs+nU20Sm8czHg3bhGCqiH+8e13BJyRrKONW34g3i50=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "7e398b3d76bc1503171b1364c9d4a07ac06f3851", "rev": "391ca6e950c2525b4f853cbe29922452c14eda82",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-community", "owner": "nix-community",
"ref": "release-23.11", "ref": "release-24.05",
"repo": "home-manager", "repo": "home-manager",
"type": "github" "type": "github"
} }
@ -97,16 +97,16 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1716061101, "lastModified": 1719838683,
"narHash": "sha256-H0eCta7ahEgloGIwE/ihkyGstOGu+kQwAiHvwVoXaA0=", "narHash": "sha256-Zw9rQjHz1ilNIimEXFeVa1ERNRBF8DoXDhLAZq5B4pE=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "e7cc61784ddf51c81487637b3031a6dd2d6673a2", "rev": "d032c1a6dfad4eedec7e35e91986becc699d7d69",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "nixos",
"ref": "nixos-23.11", "ref": "nixos-24.05",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@ -171,16 +171,16 @@
}, },
"update": { "update": {
"locked": { "locked": {
"lastModified": 1716061101, "lastModified": 1719838683,
"narHash": "sha256-H0eCta7ahEgloGIwE/ihkyGstOGu+kQwAiHvwVoXaA0=", "narHash": "sha256-Zw9rQjHz1ilNIimEXFeVa1ERNRBF8DoXDhLAZq5B4pE=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "e7cc61784ddf51c81487637b3031a6dd2d6673a2", "rev": "d032c1a6dfad4eedec7e35e91986becc699d7d69",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "nixos",
"ref": "nixos-23.11", "ref": "nixos-24.05",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }

View file

@ -1,7 +1,7 @@
{ {
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11"; nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
update.url = "github:nixos/nixpkgs/nixos-23.11"; update.url = "github:nixos/nixpkgs/nixos-24.05";
unstable.url = "github:nixos/nixpkgs/nixos-unstable"; unstable.url = "github:nixos/nixpkgs/nixos-unstable";
emacs-overlay = { emacs-overlay = {
url = "github:nix-community/emacs-overlay/master"; url = "github:nix-community/emacs-overlay/master";
@ -10,7 +10,7 @@
nixos-hardware.url = "github:NixOS/nixos-hardware/master"; nixos-hardware.url = "github:NixOS/nixos-hardware/master";
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";
}; };
bashcfg-input = { bashcfg-input = {

View file

@ -19,7 +19,7 @@
# You should not change this value, even if you update Home Manager. If you do # You should not change this value, even if you update Home Manager. If you do
# want to update the value, then make sure to first check the Home Manager # want to update the value, then make sure to first check the Home Manager
# release notes. # release notes.
home.stateVersion = "23.11"; # Please read the comment before changing. home.stateVersion = "24.05"; # Please read the comment before changing.
# The home.packages option allows you to install Nix packages into your # The home.packages option allows you to install Nix packages into your
# environment. # environment.

View file

@ -153,6 +153,6 @@
# this value at the release version of the first install of this system. # this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option # Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). # (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?
} }

View file

@ -65,6 +65,6 @@
# this value at the release version of the first install of this system. # this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option # Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). # (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?
} }

View file

@ -110,5 +110,5 @@
# this value at the release version of the first install of this system. # this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option # Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). # (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?
} }

View file

@ -135,6 +135,6 @@
# this value at the release version of the first install of this system. # this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option # Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). # (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?
} }