aleeusgr / nix-things

a toolbox
1 stars 0 forks source link

Gvolpe #19

Closed aleeusgr closed 1 year ago

aleeusgr commented 1 year ago

https://gvolpe.com/blog/nix-flakes/

https://unix.stackexchange.com/questions/272660/how-to-split-etc-nixos-configuration-nix-into-separate-modules

aleeusgr commented 1 year ago

https://github.com/aleeusgr/nix-things/blob/6907991b2ae727fa2747b6ddb9e44673bd400c32/flake.nix#L36-L41

https://github.com/aleeusgr/nix-things/blob/6907991b2ae727fa2747b6ddb9e44673bd400c32/outputs/nixos-conf.nix#L3-L5

error: flake 'git+file:///home/alex/workshop/nix-things' does not provide attribute 'packages.x86_64-linux.nixosConfigurations."nixos".config.system.build.nixos-rebuild', 'legacyPackages.x86_64-linux.nixosConfigurations."nixos".config.system.build.nixos-rebuild' or 'nixosConfigurations."nixos".config.system.build.nixos-rebuild'

name is defined here: https://github.com/aleeusgr/nix-things/blob/6907991b2ae727fa2747b6ddb9e44673bd400c32/outputs/nixos-conf.nix#L7

aleeusgr commented 1 year ago

perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_MONETARY = "en_GB.UTF-8", LC_PAPER = "en_GB.UTF-8", LC_MEASUREMENT = "en_GB.UTF-8", LC_TIME = "en_GB.UTF-8", LC_NUMERIC = "en_GB.UTF-8", LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to a fallback locale ("en_US.UTF-8"). would remove group ‘docker’ would reload the following units: dbus.service would restart the following units: polkit.service would start the following units: accounts-daemon.service, systemd-modules-load.service, systemd-sysctl.service