mirror of
https://github.com/librephoenix/nixos-config
synced 2025-09-05 12:34:02 +05:30
Extra lines to ensure flakes work
This commit is contained in:
parent
a2658e0140
commit
2774c0bc08
2 changed files with 10 additions and 4 deletions
|
@ -15,8 +15,11 @@
|
||||||
"/nix/var/nix/profiles/per-user/root/channels"
|
"/nix/var/nix/profiles/per-user/root/channels"
|
||||||
];
|
];
|
||||||
|
|
||||||
# Experimental features
|
# Ensure nix flakes are enabled
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix.package = pkgs.nixFlakes;
|
||||||
|
nix.extraOptions = ''
|
||||||
|
experimental-features = nix-command flakes
|
||||||
|
'';
|
||||||
|
|
||||||
# I'm sorry Stallman-taichou
|
# I'm sorry Stallman-taichou
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
|
@ -29,8 +29,11 @@
|
||||||
"/nix/var/nix/profiles/per-user/root/channels"
|
"/nix/var/nix/profiles/per-user/root/channels"
|
||||||
];
|
];
|
||||||
|
|
||||||
# Experimental features
|
# Ensure nix flakes are enabled
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix.package = pkgs.nixFlakes;
|
||||||
|
nix.extraOptions = ''
|
||||||
|
experimental-features = nix-command flakes
|
||||||
|
'';
|
||||||
|
|
||||||
# I'm sorry Stallman-taichou
|
# I'm sorry Stallman-taichou
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue