Nix Flakes configuration for MacOS, NixOS and WSL
0
fork

Configure Feed

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

feat: andhrimnir config

cosmeak 9a6ca370 b48f38f0

+37 -6
+33 -5
machines/nixos/andhrimnir/default.nix
··· 6 6 ]; 7 7 8 8 # EFI Bootloader 9 - boot.loader.systemd-boot.enable = true; 9 + boot.loader.grub.enable = true; 10 + boot.loader.grub.device = "nodev"; 11 + boot.loader.grub.useOSProber = true; 12 + boot.loader.grub.efiSupport = true; 10 13 boot.loader.efi.canTouchEfiVariables = true; 11 - boot.loader.systemd-boot.configurationLimit = 10; 12 14 13 15 # Locales 14 16 i18n.defaultLocale = "en_US.UTF-8"; ··· 28 30 time.timeZone = "Europe/Paris"; 29 31 30 32 # Keyboard 31 - services.xserver.xkb.layout = "us"; 33 + services.xserver.xkb.layout = "fr"; 32 34 33 35 # Networking 34 36 networking.networkmanager.enable = true; 35 37 networking.hostName = hostname; 36 38 39 + # Audio 40 + asgard.hardware.audio.enable = true; 41 + 42 + # Nvida GPU 43 + asgard.hardware.nvidia.enable = true; 44 + 37 45 # Disable CUPS since this desktop will not print something. 38 46 services.printing.enable = false; 39 47 40 48 # Common system configurations 41 49 asgard.system.garbageCollector.enable= true; 42 - asgard.system.autoUpdate.enable = false; 50 + 51 + # Enable unfree packages 52 + nixpkgs.config.allowUnfree = true; 53 + 54 + # Packages 55 + environment.systemPackages = with pkgs; [ 56 + git 57 + brave 58 + btop 59 + unzip 60 + ]; 61 + asgard.programs.steam.enable = true; 62 + 63 + # Automatic login 64 + services.displayManager.autoLogin.enable = true; 65 + services.displayManager.autoLogin.user = "benjamin"; 66 + 67 + # Desktop 68 + services.xserver.enable = true; 69 + services.xserver.displayManager.gdm.enable = true; 70 + services.xserver.desktopManager.gnome.enable = true; 43 71 44 72 # This value determines the NixOS release from which the default 45 73 # settings for stateful data, like file locations and database versions ··· 47 75 # this value at the release version of the first install of this system. 48 76 # Before changing this value read the documentation for this option 49 77 # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). 50 - system.stateVersion = "24.11"; # Did you read the comment? 78 + system.stateVersion = "25.05"; # Did you read the comment? 51 79 }
+4 -1
users/ben/andhrimnir/default.nix
··· 7 7 8 8 # User wide packages 9 9 packages = with pkgs; [ 10 - # Add packages here 10 + spotify 11 + vesktop 12 + vscode 13 + lutris 11 14 ]; 12 15 }; 13 16 }