Remove home manager

This commit is contained in:
Fern Garden 2025-06-29 09:25:10 +08:00
parent df77c22ea1
commit cbe7f893bf
2 changed files with 5 additions and 68 deletions

View file

@ -5,7 +5,6 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05"; # Stable nixpkgs. nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05"; # Stable nixpkgs.
lanzaboote.url = "github:nix-community/lanzaboote"; # Secure boot. lanzaboote.url = "github:nix-community/lanzaboote"; # Secure boot.
nixos-hardware.url = "github:NixOS/nixos-hardware"; # Hardware specific config. nixos-hardware.url = "github:NixOS/nixos-hardware"; # Hardware specific config.
home-manager.url = "github:nix-community/home-manager/release-25.05"; # Manage user home directories.
# Updated packages. # Updated packages.
fluffychat2.url = "github:NixOS/nixpkgs?ref=pull/419632/head"; # FluffyChat 2.0.0 fluffychat2.url = "github:NixOS/nixpkgs?ref=pull/419632/head"; # FluffyChat 2.0.0
@ -18,7 +17,6 @@
nixpkgs, nixpkgs,
lanzaboote, lanzaboote,
nixos-hardware, nixos-hardware,
home-manager,
fluffychat2, fluffychat2,
feishin0_16_0, feishin0_16_0,
... ...
@ -27,22 +25,14 @@
nixosConfigurations.muskduck = nixpkgs.lib.nixosSystem rec { nixosConfigurations.muskduck = nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ specialArgs = {
lanzaboote.nixosModules.lanzaboote
nixos-hardware.nixosModules.lenovo-thinkpad-t480
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.backupFileExtension = "backup";
home-manager.users.fern = ./home.nix;
home-manager.extraSpecialArgs = {
fluffychat2 = import fluffychat2 { inherit system; }; fluffychat2 = import fluffychat2 { inherit system; };
feishin0_16_0 = import feishin0_16_0 { inherit system; }; feishin0_16_0 = import feishin0_16_0 { inherit system; };
}; };
}
modules = [
lanzaboote.nixosModules.lanzaboote
nixos-hardware.nixosModules.lenovo-thinkpad-t480
./configuration.nix ./configuration.nix
./hardware-configuration/muskduck.nix # Include the results of the hardware scan. ./hardware-configuration/muskduck.nix # Include the results of the hardware scan.

View file

@ -1,53 +0,0 @@
{ config, pkgs, fluffychat2, feishin0_16_0, ... }:
{
# Home manager options.
home.username = "fern";
home.homeDirectory = "/home/fern";
home.stateVersion = "25.05";
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
# Install some packages.
programs.git.enable = true;
programs.firefox.enable = true;
programs.ghostty = {
enable = true;
settings.theme = "GruvboxDarkHard";
};
programs.vscode = {
enable = true;
package = pkgs.vscodium;
};
home.packages = with pkgs; [
adwsteamgtk
ansible
celluloid
discord
feishin0_16_0.feishin
filezilla
fluffychat2.fluffychat
gimp3
glabels-qt
jellyfin-media-player
libreoffice
nixd # nix language server
nixfmt-rfc-style # nix language formatter
obsidian
(prismlauncher.override {
# Change Java runtimes available to Prism Launcher
jdks = [
temurin-jre-bin
];
})
signal-desktop
smile
yubioath-flutter
gnomeExtensions.rounded-window-corners-reborn
gnomeExtensions.smile-complementary-extension
];
}