move nix config to flake
This commit is contained in:
parent
b4bcf9f5d7
commit
8e7eea9b80
3 changed files with 18 additions and 10 deletions
17
flake.nix
17
flake.nix
|
|
@ -1,6 +1,23 @@
|
||||||
{
|
{
|
||||||
description = "Veneficium's amazing fantastic mindblowingly stupid nixOS configuration! :3";
|
description = "Veneficium's amazing fantastic mindblowingly stupid nixOS configuration! :3";
|
||||||
|
|
||||||
|
nixConfig = {
|
||||||
|
experimental-features = "nix-command flakes";
|
||||||
|
substitute = "true";
|
||||||
|
extra-substituters = [
|
||||||
|
"https://cache.nixos.org"
|
||||||
|
"https://nix-community.cachix.org"
|
||||||
|
"https://niri.cachix.org"
|
||||||
|
];
|
||||||
|
trusted-public-keys = [
|
||||||
|
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
||||||
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||||
|
"niri.cachix.org-1:Wv0OmO7PsuocRKzfDoJ3mulSl7Z6oezYhGhR+3W2964="
|
||||||
|
];
|
||||||
|
cores = 0;
|
||||||
|
max-jobs = 2;
|
||||||
|
};
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,15 +19,6 @@
|
||||||
|
|
||||||
users.extraGroups.vboxusers.members = [ "fedfer" ];
|
users.extraGroups.vboxusers.members = [ "fedfer" ];
|
||||||
|
|
||||||
nix.settings = {
|
|
||||||
substituters = [
|
|
||||||
"https://nix-community.cachix.org"
|
|
||||||
];
|
|
||||||
trusted-public-keys = [
|
|
||||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
stylix.enable = true;
|
stylix.enable = true;
|
||||||
stylix.autoEnable = true;
|
stylix.autoEnable = true;
|
||||||
stylix = {
|
stylix = {
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,2 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
sudo nixos-rebuild switch --flake .
|
sudo nixos-rebuild switch --accept-flake-config --flake .
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue