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