home: PrusaSlicer and vscode from unstable

This commit is contained in:
fleaz 2023-04-28 13:28:55 +02:00
parent 13727d95cf
commit a81d311137
No known key found for this signature in database
GPG key ID: AED15F8FDD04D083
2 changed files with 109 additions and 105 deletions

View file

@ -2,8 +2,8 @@
let
home-manager = (import ../nix/sources.nix).home-manager;
unstable = import <nixos-unstable> {};
fontSize = hiDPI : if hiDPI then "FiraCode:size=14" else "FiraCode:size=8";
unstable = import <nixos-unstable> { };
fontSize = hiDPI: if hiDPI then "FiraCode:size=14" else "FiraCode:size=8";
in
{
imports = [
@ -107,8 +107,7 @@ in
ncmpcpp
acpi
#unstable.prusa-slicer
prusa-slicer
unstable.prusa-slicer
htop
xdg-utils
moreutils
@ -168,7 +167,7 @@ in
programs.waybar = {
enable = true;
settings = [ {
settings = [{
layer = "top";
position = "bottom";
height = 28;
@ -247,9 +246,9 @@ in
phone = "";
portable = "";
car = "";
default = ["" ""];
default = [ "" "" ];
};
on-click ="pavucontrol";
on-click = "pavucontrol";
};
"sway/workspaces" = {
all-outputs = false;
@ -262,12 +261,12 @@ in
critical-threshold = 75;
};
"disk" = {
interval= 30;
format= "{free} free";
path= "/";
interval = 30;
format = "{free} free";
path = "/";
};
};
} ];
}];
style = builtins.readFile ./waybar.css;
};

View file

@ -1,7 +1,12 @@
{ pkgs, ... }: {
{ pkgs, ... }:
let
unstable = import <nixos-unstable> { };
in
{
programs.vscode = {
enable = true;
package = unstable.vscodium;
extensions = with pkgs.vscode-extensions; [
# Dark Theme
dracula-theme.theme-dracula