diff options
| author | Dominik Kaiser | 2026-06-13 12:43:45 +0200 |
|---|---|---|
| committer | Dominik Kaiser | 2026-06-13 12:43:45 +0200 |
| commit | d6dc581b9c8e5caff8e9f05879c59ad59e176644 (patch) | |
| tree | 2586f613080bf6a3b4f9519981fd98b1a67fbe2a /modules/hosts/sol/configuration.nix | |
| parent | 2df5bc584899f427495cc20927170de2a2c84b32 (diff) | |
| download | nixos-d6dc581b9c8e5caff8e9f05879c59ad59e176644.tar.gz nixos-d6dc581b9c8e5caff8e9f05879c59ad59e176644.zip | |
Add sol
Diffstat (limited to 'modules/hosts/sol/configuration.nix')
| -rw-r--r-- | modules/hosts/sol/configuration.nix | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/modules/hosts/sol/configuration.nix b/modules/hosts/sol/configuration.nix new file mode 100644 index 0000000..242257e --- /dev/null +++ b/modules/hosts/sol/configuration.nix @@ -0,0 +1,61 @@ +{ self, inputs, ... }: { + + flake.nixosModules.solConfiguration = { config, lib, pkgs, ... }: + + { + nix.settings.experimental-features = [ "nix-command" "flakes" ]; + nixpkgs.config.allowUnfree = true; + + imports = with self.nixosModules; [ + solHardware + powerManagement + niri + audio + # audioProduction + ]; + + boot.loader.systemd-boot.enable = true; + boot.loader.efi.canTouchEfiVariables = true; + boot.kernelPackages = pkgs.linuxPackages_latest; + + networking.hostName = "sol"; + networking.networkmanager.enable = true; + + time.timeZone = "Europe/Berlin"; + + i18n.defaultLocale = "en_IE.UTF-8"; + console = { + font = "Lat2-Terminus16"; + keyMap = "us"; + }; + + services.displayManager.ly.enable = true; + services.emacs.enable = true; + + programs.steam.enable = true; + + programs.direnv.enable = true; + programs.direnv.nix-direnv.enable = true; + + services.printing.enable = true; + + # Enable touchpad support (enabled default in most desktopManager). + services.libinput.enable = true; + + users.users.dk = { + isNormalUser = true; + extraGroups = [ "wheel" ]; + hashedPasswordFile = "/persistent/passwd"; + }; + home-manager.users.dk = self.homeModules.solHome; + + environment.systemPackages = [ + pkgs.devenv + pkgs.wget + pkgs.git + inputs.home-manager.packages.${pkgs.system}.default + ]; + + system.stateVersion = "26.05"; + }; +} |
