this repo has no description
0
fork

Configure Feed

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

:memo: flakes on org mode

+62 -13
+15 -13
flake.nix
··· 1 1 { 2 - description = "Tulk'dan's system config"; 3 2 4 - inputs = { 5 - nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; 6 - }; 3 + description = "Tulk'dan's system config"; 7 4 8 - outputs = {self, nixpkgs}: let 9 - system = "x86_64-linux"; 10 - hostname = "nixos"; 11 - pkgs = import nixpkgs {inherit system;}; 12 - in { 5 + inputs = { 6 + nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; 7 + }; 13 8 14 - nixosConfigurations.${hostname} = nixpkgs.lib.nixosSystem { 15 - inherit system; 9 + outputs = {self, nixpkgs}: let 10 + system = "x86_64-linux"; 11 + hostname = "nixos"; 12 + pkgs = import nixpkgs {inherit system;}; 13 + in { 16 14 17 - modules = [ ./system/configuration.nix ]; 18 - }; 15 + nixosConfigurations.${hostname} = nixpkgs.lib.nixosSystem { 16 + inherit system; 19 17 18 + modules = [ ./system/configuration.nix ]; 20 19 }; 20 + 21 + }; 22 + 21 23 }
+47
flake.org
··· 1 + #+TITLE: Flake configuration 2 + #+AUTHOR: Tulkdan 3 + #+EMAIL: pedro8correa@gmail.com 4 + #+PROPERTY: header-args :tangle flake.nix 5 + * Flake on org file 6 + 7 + #+begin_src nix 8 + { 9 + #+end_src 10 + 11 + ** Description 12 + 13 + #+begin_src nix 14 + description = "Tulk'dan's system config"; 15 + #+end_src 16 + 17 + ** Inputs 18 + #+begin_src nix 19 + inputs = { 20 + nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; 21 + }; 22 + #+end_src 23 + 24 + ** Outputs 25 + 26 + #+begin_src nix 27 + outputs = {self, nixpkgs}: let 28 + system = "x86_64-linux"; 29 + hostname = "nixos"; 30 + pkgs = import nixpkgs {inherit system;}; 31 + in { 32 + 33 + nixosConfigurations.${hostname} = nixpkgs.lib.nixosSystem { 34 + inherit system; 35 + 36 + modules = [ ./system/configuration.nix ]; 37 + }; 38 + 39 + }; 40 + #+end_src 41 + 42 + ** End of file 43 + 44 + #+begin_src nix 45 + } 46 + #+end_src 47 +