this repo has no description
1
fork

Configure Feed

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

feat: init

+151
+3
.gitignore
··· 1 + hardware-configuration.nix 2 + .envrc 3 + .direnv
+29
configuration.nix
··· 1 + { modulesPath, pkgs, ... }: 2 + { 3 + imports = [ 4 + (modulesPath + "/installer/scan/not-detected.nix") 5 + (modulesPath + "/profiles/qemu-guest.nix") 6 + ]; 7 + 8 + boot.loader = { 9 + systemd-boot.enable = true; 10 + efi.canTouchEfiVariables = true; 11 + }; 12 + 13 + environment.systemPackages = with pkgs; [ 14 + curl 15 + git 16 + vim 17 + ]; 18 + 19 + services.openssh.enable = true; 20 + users.users.root.openssh.authorizedKeys.keys = [ 21 + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKTroR01Zm0i1janwjqE0kxhfEn/h9tdapMe6K4JIHzj alexandre@hallaine" 22 + ]; 23 + 24 + system.stateVersion = "25.11"; 25 + nix.settings.experimental-features = [ 26 + "nix-command" 27 + "flakes" 28 + ]; 29 + }
+33
disk-config.nix
··· 1 + { 2 + disko.devices = { 3 + disk = { 4 + my-disk = { 5 + device = "/dev/sda"; 6 + type = "disk"; 7 + content = { 8 + type = "gpt"; 9 + partitions = { 10 + ESP = { 11 + type = "EF00"; 12 + size = "500M"; 13 + content = { 14 + type = "filesystem"; 15 + format = "vfat"; 16 + mountpoint = "/boot"; 17 + mountOptions = [ "umask=0077" ]; 18 + }; 19 + }; 20 + root = { 21 + size = "100%"; 22 + content = { 23 + type = "filesystem"; 24 + format = "ext4"; 25 + mountpoint = "/"; 26 + }; 27 + }; 28 + }; 29 + }; 30 + }; 31 + }; 32 + }; 33 + }
+48
flake.lock
··· 1 + { 2 + "nodes": { 3 + "disko": { 4 + "inputs": { 5 + "nixpkgs": [ 6 + "nixpkgs" 7 + ] 8 + }, 9 + "locked": { 10 + "lastModified": 1773025010, 11 + "narHash": "sha256-khlHllTsovXgT2GZ0WxT4+RvuMjNeR5OW0UYeEHPYQo=", 12 + "owner": "nix-community", 13 + "repo": "disko", 14 + "rev": "7b9f7f88ab3b339f8142dc246445abb3c370d3d3", 15 + "type": "github" 16 + }, 17 + "original": { 18 + "owner": "nix-community", 19 + "repo": "disko", 20 + "type": "github" 21 + } 22 + }, 23 + "nixpkgs": { 24 + "locked": { 25 + "lastModified": 1773068389, 26 + "narHash": "sha256-vMrm7Pk2hjBRPnCSjhq1pH0bg350Z+pXhqZ9ICiqqCs=", 27 + "owner": "NixOS", 28 + "repo": "nixpkgs", 29 + "rev": "44bae273f9f82d480273bab26f5c50de3724f52f", 30 + "type": "github" 31 + }, 32 + "original": { 33 + "owner": "NixOS", 34 + "ref": "nixos-25.11", 35 + "repo": "nixpkgs", 36 + "type": "github" 37 + } 38 + }, 39 + "root": { 40 + "inputs": { 41 + "disko": "disko", 42 + "nixpkgs": "nixpkgs" 43 + } 44 + } 45 + }, 46 + "root": "root", 47 + "version": 7 48 + }
+33
flake.nix
··· 1 + { 2 + inputs = { 3 + nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11"; 4 + 5 + disko = { 6 + url = "github:nix-community/disko"; 7 + inputs.nixpkgs.follows = "nixpkgs"; 8 + }; 9 + }; 10 + 11 + outputs = 12 + { nixpkgs, disko, ... }: 13 + let 14 + system = "x86_64-linux"; 15 + pkgs = import nixpkgs { inherit system; }; 16 + in 17 + { 18 + devShells.${system}.default = pkgs.mkShell { 19 + packages = with pkgs; [ 20 + nil 21 + ]; 22 + }; 23 + 24 + nixosConfigurations.default = nixpkgs.lib.nixosSystem { 25 + inherit system; 26 + modules = [ 27 + ./disk-config.nix 28 + ./configuration.nix 29 + disko.nixosModules.disko 30 + ]; 31 + }; 32 + }; 33 + }
+5
readme.md
··· 1 + # Simple NixOS installer 2 + 3 + ```nix 4 + nix run github:nix-community/nixos-anywhere -- --flake . --target-host root@1.1.1.1 5 + ```