-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
94 lines (79 loc) · 2.78 KB
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
# /***** /****** /****
# |* *| |* | |* **** ** ***** |* | /* *
# |* *| |* | |* /* /* * |* | |* | |*
# |*****/ |* | |* **** /* * |* / |* | ******
# | |* | |* | ****** ***** |* | |
# | |* | |* * | |* | |* * |* | * |
# | **** ***** **** |* | |* * ****** *****
#
# ==========================================================================
# This is Arcturus's Pulsar configuration flake for Hydra build servers.
# It is passed into the PulsarOS configuration flake to build the server.
# You should include a specific version of this flake as an input
# in the server configuration flake and pipe its output to the `make`
# function to build the system.
description = "Pulsar configuration flake for Atlantic";
inputs = {
# PulsarOS uses the latest nixpkgs channel,
# so new (but somewhat? stable) packages are used by default.
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11-small";
};
outputs =
{ nixpkgs, ... }:
rec {
# Runner configuration
hostname = "atlantic"; # Identify the system for networking tasks
user = "arcturus"; # Login username of primary runner
name = "Arcturus Autonomy"; # Full name of primary user
# Git configuration
git = {
name = "Arcturus Autonomy";
email = "[email protected]";
};
# Meta configuration
flake = "/home/${user}/gh/arcturus/nixos";
# Import hardware scan (device-specific)
hardware = import ./hardware-configuration.nix;
hyprland.monitors = [ ];
# Internationalization properties
locale = "en_US.UTF-8";
# Power-efficient NVIDIA GPU settings
graphics = {
opengl = true;
nvidia = {
enabled = true;
intelBusId = "PCI:00:02:0";
nvidiaBusId = "PCI:01:00:0";
};
};
# System overrides
overrides = [ ];
homeOverrides = [ ];
# Custom packages
systemPackages = pkgs: with pkgs; [ hello ];
homePackages =
pkgs: with pkgs; [
hello-wayland
];
# Hydra
hydra = {
enabled = true;
port = "3000";
};
# Cachix
cachix = true;
cache = "arcturus-nix";
# Enforce defaults
system = "x86_64-linux";
kernel = "zen";
secureboot.enabled = false;
stateVersion = "24.11";
autoLogin = true;
ssh.enabled = true;
hyprland.mod = "SUPER";
audio.jack = false;
ollama = false;
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt-rfc-style;
};
}