From 276d8152a2a5653b710adcf254c668640d24beb7 Mon Sep 17 00:00:00 2001 From: Ashelyn Rose Date: Tue, 23 May 2023 17:16:55 -0600 Subject: [PATCH] Enable flakes --- .gitignore | 2 +- common/user.nix | 2 +- hosts/nyx/configuration.nix | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 1cd791b..b2be92b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -result/ +result diff --git a/common/user.nix b/common/user.nix index 7a850aa..96437d7 100644 --- a/common/user.nix +++ b/common/user.nix @@ -16,7 +16,7 @@ in { }; home-manager.users.${cfg.username} = { - home.stateVersion = "22.05"; + home.stateVersion = "22.11"; programs.zsh = { enable = true; diff --git a/hosts/nyx/configuration.nix b/hosts/nyx/configuration.nix index 48b6bd6..8fb9796 100644 --- a/hosts/nyx/configuration.nix +++ b/hosts/nyx/configuration.nix @@ -1,6 +1,6 @@ { config, pkgs, ...}: let - home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz"; + home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/release-22.11.tar.gz"; in { imports = [ ./hardware-configuration.nix @@ -12,6 +12,8 @@ in { ../../common/user.nix ]; + nix.settings.experimental-features = [ "nix-command" "flakes" ]; + ashe.system.hostname = "nyx"; ashe.system.disk = "/dev/vda";