this repo has no description
0
fork

Configure Feed

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

:memo: updated flake

+34 -32
+33 -28
README.org
··· 2 2 #+AUTHOR: Tulkdan 3 3 #+EMAIL: pedro8correa@gmail.com 4 4 5 + #+begin_src nix :tangle flake.nix :noweb yes 6 + { 7 + <<description>> 8 + 9 + inputs = { 10 + <<inputs>> 11 + }; 12 + 13 + outputs = {self, nixpkgs}: let 14 + system = "x86_64-linux"; 15 + hostname = "nixos"; 16 + pkgs = import nixpkgs {inherit system;}; 17 + in { 18 + <<outputs>> 19 + }; 20 + } 21 + #+end_src 22 + 5 23 ** Description 6 24 #+NAME: description 7 25 #+begin_src nix ··· 9 27 #+end_src 10 28 11 29 ** Inputs 12 - #+NAME: inputs 30 + :PROPERTIES: 31 + :header-args: :noweb-ref inputs 32 + :END: 33 + 34 + *** Nixpkgs 35 + 13 36 #+begin_src nix 14 - inputs = { 15 - nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; 16 - }; 37 + nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; 17 38 #+end_src 18 39 19 40 ** Outputs 20 - #+NAME: outputs 41 + :PROPERTIES: 42 + :header-args: :noweb-ref outputs 43 + :END: 44 + 45 + *** NixOS System 21 46 #+begin_src nix 22 - outputs = {self, nixpkgs}: let 23 - system = "x86_64-linux"; 24 - hostname = "nixos"; 25 - pkgs = import nixpkgs {inherit system;}; 26 - in { 27 - 28 - nixosConfigurations.${hostname} = nixpkgs.lib.nixosSystem { 29 - inherit system; 30 - 31 - modules = [ ./system/configuration.nix ]; 32 - }; 47 + nixosConfigurations.${hostname} = nixpkgs.lib.nixosSystem { 48 + inherit system; 33 49 50 + modules = [ ./system/configuration.nix ]; 34 51 }; 35 52 #+end_src 36 53 37 - 38 - ** Final nix 39 - 40 - #+begin_src nix :tangle flake.nix :noweb yes 41 - { 42 - <<description>> 43 - 44 - <<inputs>> 45 - 46 - <<outputs>> 47 - } 48 - #+end_src
+1 -4
flake.nix
··· 10 10 hostname = "nixos"; 11 11 pkgs = import nixpkgs {inherit system;}; 12 12 in { 13 - 14 13 nixosConfigurations.${hostname} = nixpkgs.lib.nixosSystem { 15 14 inherit system; 16 - 15 + 17 16 modules = [ ./system/configuration.nix ]; 18 17 }; 19 - 20 18 }; 21 - 22 19 }