remove nixpkgs-stable channel

This commit is contained in:
Mohamed Chrayed 2024-08-10 15:04:32 +02:00
parent dcb7d828da
commit a2f84a98a4
8 changed files with 8 additions and 53 deletions

View File

@ -2,7 +2,6 @@
description = "Moe.OS"; description = "Moe.OS";
inputs = { inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable"; nixpkgs.url = "nixpkgs/nixos-unstable";
nixpkgs-stable.url = "nixpkgs/release-24.05";
jovian.url = "github:Jovian-Experiments/Jovian-NixOS/development"; jovian.url = "github:Jovian-Experiments/Jovian-NixOS/development";
home-manager.url = "github:nix-community/home-manager/master"; home-manager.url = "github:nix-community/home-manager/master";
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
@ -10,19 +9,17 @@
plasma-manager.inputs.nixpkgs.follows = "nixpkgs"; plasma-manager.inputs.nixpkgs.follows = "nixpkgs";
plasma-manager.inputs.home-manager.follows = "home-manager"; plasma-manager.inputs.home-manager.follows = "home-manager";
}; };
outputs = { self, nixpkgs, nixpkgs-stable, home-manager, jovian, plasma-manager, ...}: outputs = { self, nixpkgs, home-manager, jovian, plasma-manager, ...}:
let let
lib = nixpkgs.lib; lib = nixpkgs.lib;
host = "computer-mo"; host = "computer-mo";
user = "mo"; user = "mo";
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = import nixpkgs {inherit system; config.allowUnfree = true; }; pkgs = import nixpkgs {inherit system; config.allowUnfree = true; };
pkgs-stable = import nixpkgs-stable {inherit system; config.allowUnfree = true; };
in { in {
nixosConfigurations = { nixosConfigurations = {
${host} = lib.nixosSystem { ${host} = lib.nixosSystem {
inherit system; inherit system;
specialArgs = { inherit pkgs-stable; };
modules = [ modules = [
./hosts/${host}/system-imports.nix ./hosts/${host}/system-imports.nix
jovian.nixosModules.jovian jovian.nixosModules.jovian

View File

@ -1,15 +1,9 @@
{ pkgs, pkgs-stable, ... }: { pkgs, ... }:
{ {
environment.systemPackages = environment.systemPackages =
(with pkgs; [ (with pkgs; [
kde-rounded-corners kde-rounded-corners
neofetch neofetch
ibm-plex ibm-plex
])
++
(with pkgs-stable; [
]); ]);
} }

View File

@ -1,4 +1,4 @@
{ pkgs, pkgs-stable, ... }: { pkgs, ... }:
{ {
programs.zsh.enable = true; programs.zsh.enable = true;
@ -8,11 +8,5 @@
git git
nil nil
yaml-language-server yaml-language-server
])
++
(with pkgs-stable; [
]); ]);
} }

View File

@ -1,4 +1,4 @@
{ pkgs, pkgs-stable, ... }: { pkgs, ... }:
{ {
environment.systemPackages = environment.systemPackages =
(with pkgs; [ (with pkgs; [
@ -6,11 +6,5 @@
unigine-valley unigine-valley
unigine-heaven unigine-heaven
unigine-tropics unigine-tropics
])
++
(with pkgs-stable; [
]); ]);
} }

View File

@ -1,4 +1,4 @@
{ pkgs, pkgs-stable, ... }: { pkgs, ... }:
{ {
environment.systemPackages = environment.systemPackages =
(with pkgs; [ (with pkgs; [
@ -6,11 +6,5 @@
aha aha
lact lact
kdePackages.isoimagewriter kdePackages.isoimagewriter
])
++
(with pkgs-stable; [
]); ]);
} }

View File

@ -1,4 +1,4 @@
{ pkgs, pkgs-stable, ... }: { pkgs, ... }:
{ {
environment.systemPackages = environment.systemPackages =
(with pkgs; [ (with pkgs; [
@ -8,12 +8,6 @@
kdePackages.elisa kdePackages.elisa
haruna haruna
krita krita
])
++
(with pkgs-stable; [
]); ]);
} }

View File

@ -1,4 +1,4 @@
{ pkgs, pkgs-stable, ... }: { pkgs, ... }:
{ {
environment.systemPackages = environment.systemPackages =
(with pkgs; [ (with pkgs; [
@ -11,11 +11,5 @@
kdePackages.kcalc kdePackages.kcalc
kdePackages.filelight kdePackages.filelight
kdePackages.skanlite kdePackages.skanlite
])
++
(with pkgs-stable; [
]); ]);
} }

View File

@ -1,14 +1,8 @@
{ pkgs, pkgs-stable, ... }: { pkgs, ... }:
{ {
environment.systemPackages = environment.systemPackages =
(with pkgs; [ (with pkgs; [
kdePackages.ksystemlog kdePackages.ksystemlog
kdePackages.partitionmanager kdePackages.partitionmanager
])
++
(with pkgs-stable; [
]); ]);
} }