Switch to flakes
This commit is contained in:
parent
63782cad44
commit
ef66a05961
3
.vscode/settings.json
vendored
Normal file
3
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"nixEnvSelector.suggestion": false
|
||||||
|
}
|
||||||
19
flake.nix
Normal file
19
flake.nix
Normal 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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@ -123,7 +123,6 @@
|
|||||||
pkgs.kdePackages.sddm-kcm
|
pkgs.kdePackages.sddm-kcm
|
||||||
pkgs.kdePackages.qtstyleplugin-kvantum
|
pkgs.kdePackages.qtstyleplugin-kvantum
|
||||||
pkgs.libsForQt5.qtstyleplugin-kvantum
|
pkgs.libsForQt5.qtstyleplugin-kvantum
|
||||||
pkgs.catppuccin-sddm
|
|
||||||
];
|
];
|
||||||
|
|
||||||
services.flatpak.enable = true;
|
services.flatpak.enable = true;
|
||||||
@ -151,7 +150,7 @@
|
|||||||
# networking.firewall.enable = false;
|
# networking.firewall.enable = false;
|
||||||
|
|
||||||
nixpkgs.config.permittedInsecurePackages = [
|
nixpkgs.config.permittedInsecurePackages = [
|
||||||
"broadcom-sta-6.30.223.271-59-6.18.54"
|
kernelPackages.broadcom_sta
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.bluetooth = {
|
hardware.bluetooth = {
|
||||||
Loading…
Reference in New Issue
Block a user