updated flake.nix - moving towards simpler home-manager config
This commit is contained in:
parent
a905e2dc3d
commit
6363c7655d
4 changed files with 105 additions and 35 deletions
|
|
@ -1,7 +1,52 @@
|
|||
{ self, pkgs, lib, inputs, ... }:
|
||||
|
||||
{
|
||||
|
||||
imports = [
|
||||
# ./file.nix
|
||||
import = [
|
||||
./packages.nix
|
||||
];
|
||||
|
||||
|
||||
nix = {
|
||||
settings = {
|
||||
cores = 0;
|
||||
auto-optimise-store = true;
|
||||
allowed-users = [
|
||||
"@wheel"
|
||||
];
|
||||
experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
};
|
||||
# gc = {
|
||||
# automatic = true;
|
||||
# };
|
||||
};
|
||||
|
||||
nixpkgs = {
|
||||
overlays = [
|
||||
self.overlays.default
|
||||
inputs.nur.overlay
|
||||
];
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
permittedInsecurePackages = [
|
||||
"schildichat-web-1.11.30-sc.2"
|
||||
"electron-25.9.0"
|
||||
# "nix-2.15.3"
|
||||
]
|
||||
};
|
||||
};
|
||||
|
||||
environment.variables = {
|
||||
NIXOS_OZONE_WL = "1";
|
||||
NIXPKGS_ALLOW_UNFREE = "1";
|
||||
PATH = [
|
||||
"\${HOME}/.local/bin"
|
||||
"\${HOME}/.config/rofi/scripts"
|
||||
];
|
||||
};
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue