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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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