Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- description = "A very basic flake";
- inputs = {
- nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
- home-manager = {
- url = "github:nix-community/home-manager";
- };
- };
- outputs = { self, nixpkgs, home-manager, ... }@inputs:
- let
- system = "x86_64-linux";
- pkgs = import nixpkgs {
- inherit system;
- config.allowUnfree = true;
- };
- in {
- nixosConfigurations = rec {
- default = home-manager.inputs.nixpkgs.lib.nixosSystem {
- specialArgs = { inherit inputs system; };
- modules = [ ./configuration.nix home-manager.nixosModules.home-manager ];
- };
- nixos = default;
- };
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment