Compare commits
2 Commits
c110948b58
...
2de770fe5c
Author | SHA1 | Date | |
---|---|---|---|
2de770fe5c | |||
26f9d6675b |
@ -8,10 +8,11 @@
|
|||||||
# Bootloader.
|
# Bootloader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
|
||||||
nix.settings.extra-experimental-features = [ "nix-command" "flakes" ];
|
|
||||||
|
|
||||||
imports = [ ./modules/networking.nix ];
|
imports = [
|
||||||
|
./modules/networking.nix
|
||||||
|
./modules/nix-settings.nix
|
||||||
|
];
|
||||||
|
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "America/Anchorage";
|
time.timeZone = "America/Anchorage";
|
||||||
@ -143,8 +144,6 @@
|
|||||||
systemd.services."getty@tty1".enable = false;
|
systemd.services."getty@tty1".enable = false;
|
||||||
systemd.services."autovt@tty1".enable = false;
|
systemd.services."autovt@tty1".enable = false;
|
||||||
|
|
||||||
# Allow unfree packages
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
|
||||||
|
|
||||||
# List packages installed in system profile. To search, run:
|
# List packages installed in system profile. To search, run:
|
||||||
# $ nix search wget
|
# $ nix search wget
|
||||||
|
4
home.nix
4
home.nix
@ -50,10 +50,6 @@ with lib.hm.gvariant;
|
|||||||
# the Home Manager release notes for a list of state version
|
# the Home Manager release notes for a list of state version
|
||||||
# changes in each release.
|
# changes in each release.
|
||||||
home.stateVersion = "23.05";
|
home.stateVersion = "23.05";
|
||||||
# nix = {
|
|
||||||
# package = pkgs.nix;
|
|
||||||
# settings.experimental-features = [ "nix-command" "flakes" ];
|
|
||||||
# };
|
|
||||||
|
|
||||||
# Let Home Manager install and manage itself.
|
# Let Home Manager install and manage itself.
|
||||||
programs.home-manager = {
|
programs.home-manager = {
|
||||||
|
8
modules/nix-settings.nix
Normal file
8
modules/nix-settings.nix
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
{
|
||||||
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
nix.settings.extra-experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
# Allow unfree packages
|
||||||
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user