trying to add the basics for systems using unstable and stable
This commit is contained in:
		
							parent
							
								
									e806da96d6
								
							
						
					
					
						commit
						fbfa4f44e6
					
				
					 2 changed files with 10 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -30,6 +30,7 @@ Both include the home-manager module. Primarily I chose that route so that I cou
 | 
			
		|||
 | 
			
		||||
  inputs = {
 | 
			
		||||
    nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
 | 
			
		||||
    nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-22.05";
 | 
			
		||||
    home-manager = {
 | 
			
		||||
      url = "github:nix-community/home-manager/master";
 | 
			
		||||
      inputs.nixpkgs.follows = "nixpkgs";
 | 
			
		||||
| 
						 | 
				
			
			@ -38,9 +39,10 @@ Both include the home-manager module. Primarily I chose that route so that I cou
 | 
			
		|||
      url = "github:vaxerski/Hyprland";
 | 
			
		||||
      inputs.nixpkgs.follows = "nixpkgs";
 | 
			
		||||
    };
 | 
			
		||||
    emacs.url = "github:nix-community/emacs-overlay";
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  outputs = { nixpkgs, home-manager, hyprland, ... }:
 | 
			
		||||
  outputs = { nixpkgs, nixpkgs-stable, home-manager, hyprland, emacs, ... }:
 | 
			
		||||
    let
 | 
			
		||||
      system = "x86_64-linux";
 | 
			
		||||
      username = "chris";
 | 
			
		||||
| 
						 | 
				
			
			@ -85,7 +87,7 @@ Both include the home-manager module. Primarily I chose that route so that I cou
 | 
			
		|||
      nixosConfigurations = {
 | 
			
		||||
        syl = lib.nixosSystem {
 | 
			
		||||
          inherit system;
 | 
			
		||||
          # inherit pkgs;
 | 
			
		||||
          inherit emacs;
 | 
			
		||||
          modules = [
 | 
			
		||||
            ./system/syl/configuration.nix
 | 
			
		||||
            home-manager.nixosModules.home-manager
 | 
			
		||||
| 
						 | 
				
			
			@ -110,7 +112,7 @@ Both include the home-manager module. Primarily I chose that route so that I cou
 | 
			
		|||
            }
 | 
			
		||||
          ];
 | 
			
		||||
        };
 | 
			
		||||
        dalinar = lib.nixosSystem {
 | 
			
		||||
        dalinar = lib-stable.nixosSystem {
 | 
			
		||||
          inherit system;
 | 
			
		||||
          modules = [
 | 
			
		||||
            ./system/dalinar/configuration.nix
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3,6 +3,7 @@
 | 
			
		|||
 | 
			
		||||
  inputs = {
 | 
			
		||||
    nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
 | 
			
		||||
    nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-22.05";
 | 
			
		||||
    home-manager = {
 | 
			
		||||
      url = "github:nix-community/home-manager/master";
 | 
			
		||||
      inputs.nixpkgs.follows = "nixpkgs";
 | 
			
		||||
| 
						 | 
				
			
			@ -11,9 +12,10 @@
 | 
			
		|||
      url = "github:vaxerski/Hyprland";
 | 
			
		||||
      inputs.nixpkgs.follows = "nixpkgs";
 | 
			
		||||
    };
 | 
			
		||||
    emacs.url = "github:nix-community/emacs-overlay";
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  outputs = { nixpkgs, home-manager, hyprland, ... }:
 | 
			
		||||
  outputs = { nixpkgs, nixpkgs-stable, home-manager, hyprland, emacs, ... }:
 | 
			
		||||
    let
 | 
			
		||||
      system = "x86_64-linux";
 | 
			
		||||
      username = "chris";
 | 
			
		||||
| 
						 | 
				
			
			@ -58,7 +60,7 @@
 | 
			
		|||
      nixosConfigurations = {
 | 
			
		||||
        syl = lib.nixosSystem {
 | 
			
		||||
          inherit system;
 | 
			
		||||
          # inherit pkgs;
 | 
			
		||||
          inherit emacs;
 | 
			
		||||
          modules = [
 | 
			
		||||
            ./system/syl/configuration.nix
 | 
			
		||||
            home-manager.nixosModules.home-manager
 | 
			
		||||
| 
						 | 
				
			
			@ -83,7 +85,7 @@
 | 
			
		|||
            }
 | 
			
		||||
          ];
 | 
			
		||||
        };
 | 
			
		||||
        dalinar = lib.nixosSystem {
 | 
			
		||||
        dalinar = lib-stable.nixosSystem {
 | 
			
		||||
          inherit system;
 | 
			
		||||
          modules = [
 | 
			
		||||
            ./system/dalinar/configuration.nix
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue