Nix Flakes configuration for MacOS, NixOS and WSL
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

wip: nanna

cosmeak 5fe414b5 59ad3c8c

+66 -12
+10 -11
README.md
··· 44 44 45 45 | Hostname | Motherboard | CPU | GPU | RAM | OS | Usage | Status | 46 46 | :------------- | :-------------------------------- | :------------------- | :------------ | :--: | :-: | :------: | :----: | 47 - | `njord` | - | Apple M2 Pro | Apple M2 Pro | 32Go | 🍎️ | ⌨️ | 🟢️ | 47 + | `andhrimnir` | Aorus B450 Elite | AMD Ryzen 3 3300X | Nvidia 1060 | 16Go | ❄️ | 🖥️ - 🎮️ | 🟢️ | 48 + | `elli` | HP ProDesk 400 G1 DM | Intel Pentium G3250T | - | 8Go | ❄️ | 💾️ | 🟠 | 48 49 | `loki` | ASUS ROG STRIX B760-I GAMING WIFI | Intel i5 13600kf | Nvidia 4070ti | 32Go | ❄️ | 🎮️ | 🟢️ | 49 - | `lithium` | Raspberry Pi3 b+ | - | - | 1Go | ❄️ | 🧨️ | 🔴 | 50 - | `vali` | WSL | - | - | 8Go | ❄️ | 💾️ | 🔴 | 51 - | `andhrimnir` | Aorus B450 Elite | AMD Ryzen 3 3300X | Nvidia 1060 | 16Go | ❄️ | 🎮️ / ⌨️ | 🟢️ | 52 - | `elli` | HP ProDesk 400 G1 DM | Intel Pentium G3250T | - | 8Go | ❄️ | 💾️ | 🟠 | 50 + | `nanna` | Lenovo Legion Y530 15ICH | Intel i5 | Nvidia 1050ti | 16Go | ❄️ | 🖥️ - 🎮️ | 🟢️ | 51 + | `njord` | - | Apple M2 Pro | Apple M2 Pro | 32Go | 🍎️ | 🖥️ | 🟢️ | 53 52 | `sunna` | ASUS ROG STRIX G15 | Intel i7 10870H | Nvidia 2060 | 16Go | ❄️ | 🖥️ | 🔴 | 53 + | `syn` | Raspberry Pi3 b+ | - | - | 1Go | ❄️ | 💾️ | 🔴 | 54 + | `vali` | WSL | - | - | - | ❄️ | 💾️ | 🔴 | 54 55 55 56 <details> 56 - <summary>Legend</summary> 57 + <summary>Annotations</summary> 57 58 58 - - 🎮️ : Gaming 59 + - 🎮️ : Gamingstation 59 60 - 💾️ : Server 60 61 - ☁️ : Virtual Machime 61 - - ⌨️ : Coding 62 - - 🖥️ : Office 62 + - 🖥️ : Workstation 63 63 - 🧨️ : Testing purpose 64 - - 🎭️ : Dual Boot 65 - - ❄️ : NixOS 64 + - ❄️ : NixOS 66 65 - 🍎️ : MacOS 67 66 - 👹️ : FreeBSD with [NixBSD](https://github.com/nixos-bsd/nixbsd) 68 67 </details>
+3
flake.nix
··· 17 17 18 18 # Minecraft server helper 19 19 nix-minecraft.url = "github:Infinidoge/nix-minecraft"; 20 + 21 + # Hardware specific 22 + nixos-hardware.url = "github:NixOS/nixos-hardware/master"; 20 23 }; 21 24 22 25 outputs = inputs@{ flake-parts, ... }:
+34
modules/hosts/nanna/configuration.nix
··· 1 + { inputs, ... }: 2 + { 3 + flake.nixosModules.nanna = { pkgs, ... }: { 4 + imports = 5 + with inputs.self.nixosModules; 6 + with inputs.self.factory; 7 + [ 8 + systemd-boot 9 + budgie-desktop 10 + inputs.nixos-hardware.nixosModules.lenovo-legion-15ich 11 + juliette 12 + ]; 13 + 14 + # Activate network configuration 15 + networking.networkmanager.enable = true; 16 + 17 + # Enable flatpak to download extra software without asking 18 + # or modifying this when it's temporary. 19 + services.flatpak.enable = true; 20 + 21 + # System wide programs and applications 22 + programs.steam.enable = true; 23 + programs.firefox.enable = true; 24 + environment.systemPackages = with pkgs; [ 25 + git 26 + just 27 + ]; 28 + }; 29 + 30 + hosts.nanna = { 31 + system = "x86_64-linux"; 32 + modules = [ inputs.self.nixosModules.nanna ]; 33 + }; 34 + }
-1
modules/users/cosmeak.nix
··· 34 34 packages = with pkgs; [ 35 35 ghostty # Terminal emulator 36 36 heroic # Game Launcher (Epic Games, GOG) 37 - krita # Photo editor 38 37 # obs-studio # Recording App 39 38 prismlauncher # Minecraft launcher 40 39 vesktop # Discord client
+19
modules/users/juliette.nix
··· 1 + { ... }: 2 + let 3 + username = "juliette"; 4 + in 5 + { 6 + allowedUnfreePackages = [ "steam" "steam-unwrapped" "spotify" ]; 7 + 8 + flake.nixosModules.${username} = { pkgs, ... }: { 9 + users.users.${username} = { 10 + isNormalUser = true; 11 + extraGroups = [ "networkmanager" "wheel" ]; 12 + packages = with pkgs; [ 13 + libreoffice # Microsoft 365 alternative 14 + vesktop # Discord client 15 + teams-for-linux # Microsoft Teams 16 + ]; 17 + }; 18 + }; 19 + }