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

View file

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