mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
flake.nix: use Nix-built Guix service module
This commit is contained in:
parent
3129b45e61
commit
c9ccb53bac
11
flake.nix
11
flake.nix
@ -9,8 +9,10 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
# I know NixOS can be stable but we're going cutting edge, baybee!
|
# I know NixOS can be stable but we're going cutting edge, baybee! While
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
# `nixpkgs-unstable` branch could be faster delivering updates, it is
|
||||||
|
# looser when it comes to stability for the entirety of this configuration.
|
||||||
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
|
|
||||||
# We're using this library for other functions, mainly testing.
|
# We're using this library for other functions, mainly testing.
|
||||||
flake-utils.url = "github:numtide/flake-utils";
|
flake-utils.url = "github:numtide/flake-utils";
|
||||||
@ -127,13 +129,14 @@
|
|||||||
# The default configuration for our NixOS systems.
|
# The default configuration for our NixOS systems.
|
||||||
hostDefaultConfig = { pkgs, system, ... }: {
|
hostDefaultConfig = { pkgs, system, ... }: {
|
||||||
# Only use imports as minimally as possible with the absolute
|
# Only use imports as minimally as possible with the absolute
|
||||||
# requirements of a host.
|
# requirements of a host. On second thought, only on flakes with
|
||||||
|
# optional NixOS modules.
|
||||||
imports = [
|
imports = [
|
||||||
inputs.home-manager.nixosModules.home-manager
|
inputs.home-manager.nixosModules.home-manager
|
||||||
inputs.nix-ld.nixosModules.nix-ld
|
inputs.nix-ld.nixosModules.nix-ld
|
||||||
inputs.nur.nixosModules.nur
|
inputs.nur.nixosModules.nur
|
||||||
inputs.sops-nix.nixosModules.sops
|
inputs.sops-nix.nixosModules.sops
|
||||||
inputs.guix-overlay.nixosModules.guix-binary
|
inputs.guix-overlay.nixosModules.guix
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.extraOutputsToInstall = [ "doc" "devdoc" "info" ];
|
environment.extraOutputsToInstall = [ "doc" "devdoc" "info" ];
|
||||||
|
@ -100,7 +100,7 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
# Enable Guix service.
|
# Enable Guix service.
|
||||||
services.guix-binary.enable = true;
|
services.guix.enable = true;
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
@ -14,6 +14,10 @@
|
|||||||
|
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
label = "root";
|
label = "root";
|
||||||
|
options = [
|
||||||
|
"defaults"
|
||||||
|
"noatime"
|
||||||
|
];
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user