mirror of
https://github.com/0x1d/nix.git
synced 2025-12-14 22:02:25 +01:00
update unstable, add Cosmic desktop
This commit is contained in:
3
os/system/desktop/cosmic.nix
Normal file
3
os/system/desktop/cosmic.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{ pkgs, ... }: {
|
||||
services.desktopManager.cosmic.enable = true;
|
||||
}
|
||||
@@ -6,4 +6,5 @@
|
||||
displayManager.gdm.enable = true;
|
||||
desktopManager.gnome.enable = true;
|
||||
};
|
||||
services.desktopManager.cosmic.enable = true;
|
||||
}
|
||||
|
||||
@@ -1,14 +1,10 @@
|
||||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, nixpkgs-unstable, ... }:
|
||||
let
|
||||
unstable = import
|
||||
(builtins.fetchTarball {
|
||||
url = "https://github.com/nixos/nixpkgs/tarball/nixpkgs-unstable";
|
||||
sha256 = "sha256:1j0ir1f9zv9y674apv7fnmmhr0qf8bjnh7qv6ia47bbs1pzxgr2x";
|
||||
})
|
||||
# reuse the current configuration
|
||||
{ config = config.nixpkgs.config; };
|
||||
in
|
||||
{
|
||||
unstable = import nixpkgs-unstable {
|
||||
system = pkgs.system;
|
||||
config = config.nixpkgs.config;
|
||||
};
|
||||
in {
|
||||
|
||||
nixpkgs.config = {
|
||||
allowUnfree = true;
|
||||
@@ -37,6 +33,8 @@ in
|
||||
ripgrep
|
||||
jq
|
||||
git
|
||||
ranger
|
||||
highlight
|
||||
gnumake
|
||||
pinentry
|
||||
direnv
|
||||
@@ -61,7 +59,7 @@ in
|
||||
alacritty
|
||||
brave
|
||||
#unstable.gsconnect
|
||||
code-cursor
|
||||
unstable.code-cursor
|
||||
go
|
||||
gnomeExtensions.forge
|
||||
platformio
|
||||
@@ -77,6 +75,7 @@ in
|
||||
hwinfo
|
||||
usbutils
|
||||
unstable.cursor-cli
|
||||
ffmpeg
|
||||
];
|
||||
|
||||
fonts.packages = with pkgs; [
|
||||
|
||||
Reference in New Issue
Block a user