summaryrefslogtreecommitdiff
path: root/machines/oxo/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'machines/oxo/configuration.nix')
-rw-r--r--machines/oxo/configuration.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/machines/oxo/configuration.nix b/machines/oxo/configuration.nix
new file mode 100644
index 0000000..ef7a84b
--- /dev/null
+++ b/machines/oxo/configuration.nix
@@ -0,0 +1,33 @@
+{ lib, inputs, pkgs, ... }:
+
+{
+ imports = [
+ ./hardware-configuration.nix
+ inputs.home-manager.nixosModules.default
+ ] ++ (map (path: ../../modules/${path}) [
+ "core/global.nix"
+ "ssh.nix"
+ "compromyse.nix"
+ "git/user.nix"
+ "git/cgit.nix"
+ ]);
+
+ networking.hostName = "oxo";
+
+ boot.loader.grub = {
+ enable = true;
+ forceInstall = true;
+ device = "/dev/sda";
+ };
+
+ programs.fuse.userAllowOther = true;
+ home-manager = {
+ extraSpecialArgs = { inherit inputs; };
+ useGlobalPkgs = true;
+ useUserPackages = true;
+ users = {
+ git = import ./git-home.nix;
+ compromyse = import ./home.nix
+ };
+ };
+}