Added CAD tool settings

This commit is contained in:
Alex Davies 2024-05-11 12:40:43 +00:00
parent 58c421383c
commit 2cc2aea61f
5 changed files with 150 additions and 6 deletions

View File

@ -1,5 +1,39 @@
{
"nodes": {
"base16-schemes": {
"flake": false,
"locked": {
"lastModified": 1696158499,
"narHash": "sha256-5yIHgDTPjoX/3oDEfLSQ0eJZdFL1SaCfb9d6M0RmOTM=",
"owner": "tinted-theming",
"repo": "base16-schemes",
"rev": "a9112eaae86d9dd8ee6bb9445b664fba2f94037a",
"type": "github"
},
"original": {
"owner": "tinted-theming",
"repo": "base16-schemes",
"type": "github"
}
},
"flake-utils": {
"inputs": {
"systems": "systems"
},
"locked": {
"lastModified": 1705309234,
"narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"home-manager": {
"inputs": {
"nixpkgs": [
@ -21,6 +55,25 @@
"type": "github"
}
},
"nix-colors": {
"inputs": {
"base16-schemes": "base16-schemes",
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
"lastModified": 1707825078,
"narHash": "sha256-hTfge2J2W+42SZ7VHXkf4kjU+qzFqPeC9k66jAUBMHk=",
"owner": "misterio77",
"repo": "nix-colors",
"rev": "b01f024090d2c4fc3152cd0cf12027a7b8453ba1",
"type": "github"
},
"original": {
"owner": "misterio77",
"repo": "nix-colors",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1714076141,
@ -37,6 +90,21 @@
"type": "github"
}
},
"nixpkgs-lib": {
"locked": {
"lastModified": 1697935651,
"narHash": "sha256-qOfWjQ2JQSQL15KLh6D7xQhx0qgZlYZTYlcEiRuAMMw=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "e1e11fdbb01113d85c7f41cada9d2847660e3902",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nixpkgs.lib",
"type": "github"
}
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1686501370,
@ -53,11 +121,63 @@
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1707268954,
"narHash": "sha256-2en1kvde3cJVc3ZnTy8QeD2oKcseLFjYPLKhIGDanQ0=",
"owner": "lopsided98",
"repo": "nixpkgs",
"rev": "f8e2ebd66d097614d51a56a755450d4ae1632df1",
"type": "github"
},
"original": {
"owner": "lopsided98",
"ref": "nix-ros",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"home-manager": "home-manager",
"nix-colors": "nix-colors",
"nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable"
"nixpkgs-unstable": "nixpkgs-unstable",
"ros": "ros"
}
},
"ros": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1713569614,
"narHash": "sha256-ouEmZMCZ1XMhLr3Fh3rtoR5hHRiQ/zgz5qkM+9OUnOg=",
"owner": "lopsided98",
"repo": "nix-ros-overlay",
"rev": "1d5ae52f3e9c71604c52c6464c5e4eed4f8b14b8",
"type": "github"
},
"original": {
"owner": "lopsided98",
"repo": "nix-ros-overlay",
"type": "github"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
}
},

View File

@ -13,9 +13,11 @@
home-manager.url = "github:nix-community/home-manager/release-23.05";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
ros.url = "github:lopsided98/nix-ros-overlay";
# Shameless plug: looking for a way to nixify your themes and make
# everything match nicely? Try nix-colors!
# nix-colors.url = "github:misterio77/nix-colors";
nix-colors.url = "github:misterio77/nix-colors";
};
outputs = {
@ -64,6 +66,7 @@
modules = [
./nixos/configuration.nix
./nixos/kde-desktop.nix
./nixos/cad.nix
];
};
#Work laptop, dell g15.
@ -75,6 +78,7 @@
modules = [
./nixos/configuration.nix
./nixos/kde-desktop.nix
./nixos/cad.nix
];
};
};
@ -82,7 +86,6 @@
# Standalone home-manager configuration entrypoint
# Available through 'home-manager --flake .#your-username@your-hostname'
homeConfigurations = {
# FIXME replace with your username@hostname
"traverseda@athame" = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.x86_64-linux; # Home-manager requires 'pkgs' instance
extraSpecialArgs = {inherit inputs outputs;};

11
nixos/cad.nix Normal file
View File

@ -0,0 +1,11 @@
{ config, pkgs, lib, ... }:
{
environment.systemPackages = with pkgs; [
pkgs.openscad
pkgs.blender
pkgs.freecad
];
}

View File

@ -8,8 +8,11 @@
services.displayManager.sddm.wayland.enable = true;
services.displayManager.defaultSession = "plasma";
#boot.plymouth.enable = true;
#boot.plymouth.theme="breeze";
boot.plymouth = {
enable = false;
themePackages = with pkgs; [ (adi1090x-plymouth-themes.override {selected_themes = [ "rings" ]; }) ];
theme = "rings";
};
hardware.opengl.enable = true;
@ -51,7 +54,7 @@
"widget.use-xdg-desktop-portal.file-picker" = 1;
};
ExtensionSettings = {
"*".installation_mode = "blocked"; # blocks all addons except the ones specified below
#"*".installation_mode = "blocked"; # blocks all addons except the ones specified below
# uBlock Origin:
"uBlock0@raymondhill.net" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
@ -61,6 +64,12 @@
};
};
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true;
#Enable support for my logitech bluetooth peripherals
hardware.logitech.wireless.enable = true;
hardware.logitech.wireless.enableGraphical = true;
sound.enable = true;
hardware.pulseaudio.enable = false;

View File

@ -2,4 +2,5 @@
# You can build them using 'nix build .#example'
pkgs: {
# example = pkgs.callPackage ./example { };
custom-creality-print = pkgs.callPackage ./custom-creality-print { };
}