Switch to flakes

This commit is contained in:
August 2026-11-17 19:23:43 -05:00
parent 63782cad44
commit ef66a05961
Signed by: shibedrill
SSH Key Fingerprint: SHA256:M0m3JW1s38BgO2t0fG146Yxd9OJ2IOqkvCAsuRHQ6Pw
5 changed files with 23 additions and 2 deletions

3
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
"nixEnvSelector.suggestion": false
}

19
flake.nix Normal file
View File

@ -0,0 +1,19 @@
{
description = "shibedrill's NixOS system configurations.";
inputs = {
# NixOS official package source, using the nixos-26.05 branch here
nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
};
outputs = { self, nixpkgs, ... }@inputs: {
# Please replace my-nixos with your hostname
nixosConfigurations.nixbookpro = nixpkgs.lib.nixosSystem {
modules = [
# Import the previous configuration.nix we used,
# so the old configuration file still takes effect
./nixbookpro/nixos/configuration.nix
];
};
};
}

View File

@ -123,7 +123,6 @@
pkgs.kdePackages.sddm-kcm
pkgs.kdePackages.qtstyleplugin-kvantum
pkgs.libsForQt5.qtstyleplugin-kvantum
pkgs.catppuccin-sddm
];
services.flatpak.enable = true;
@ -151,7 +150,7 @@
# networking.firewall.enable = false;
nixpkgs.config.permittedInsecurePackages = [
"broadcom-sta-6.30.223.271-59-6.18.54"
kernelPackages.broadcom_sta
];
hardware.bluetooth = {