Add orca slicer

This commit is contained in:
Annika Merris 2025-01-10 10:50:53 -05:00
parent b08dcb9298
commit 8bb13a904c
4 changed files with 40 additions and 19 deletions

34
flake.lock generated
View file

@ -24,11 +24,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1735048446, "lastModified": 1736437680,
"narHash": "sha256-Tc35Y8H+krA6rZeOIczsaGAtobSSBPqR32AfNTeHDRc=", "narHash": "sha256-9Sy17XguKdEU9M5peTrkWSlI/O5IAqjHzdzxbXnc30g=",
"owner": "nix-community", "owner": "nix-community",
"repo": "disko", "repo": "disko",
"rev": "3a4de9fa3a78ba7b7170dda6bd8b4cdab87c0b21", "rev": "4d5d07d37ff773338e40a92088f45f4f88e509c8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -77,11 +77,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1735053786, "lastModified": 1736508663,
"narHash": "sha256-Gm+0DcbUS338vvkwyYWms5jsWlx8z8MeQBzcnIDuIkw=", "narHash": "sha256-ZOaGwa+WnB7Zn3YXimqjmIugAnHePdXCmNu+AHkq808=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "35b98d20ca8f4ca1f6a2c30b8a2c8bb305a36d84", "rev": "2532b500c3ed2b8940e831039dcec5a5ea093afc",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -114,15 +114,15 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1729360442, "lastModified": 1732605668,
"narHash": "sha256-6U0CyPycIBc04hbYy2hBINnVso58n/ZyywY2BD3hu+s=", "narHash": "sha256-DN5/166jhiiAW0Uw6nueXaGTueVxhfZISAkoxasmz/g=",
"rev": "9098ac95768f7006d7e070b88bae76939f6034e6", "rev": "f19bd752910bbe3a861c9cad269bd078689d50fe",
"type": "tarball", "type": "tarball",
"url": "https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/9098ac95768f7006d7e070b88bae76939f6034e6.tar.gz?rev=9098ac95768f7006d7e070b88bae76939f6034e6" "url": "https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/f19bd752910bbe3a861c9cad269bd078689d50fe.tar.gz?rev=f19bd752910bbe3a861c9cad269bd078689d50fe"
}, },
"original": { "original": {
"type": "tarball", "type": "tarball",
"url": "https://git.lix.systems/lix-project/nixos-module/archive/2.91.1-1.tar.gz" "url": "https://git.lix.systems/lix-project/nixos-module/archive/2.91.1-2.tar.gz"
} }
}, },
"nixpkgs": { "nixpkgs": {
@ -143,11 +143,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1734649271, "lastModified": 1736344531,
"narHash": "sha256-4EVBRhOjMDuGtMaofAIqzJbg4Ql7Ai0PSeuVZTHjyKQ=", "narHash": "sha256-8YVQ9ZbSfuUk2bUf2KRj60NRraLPKPS0Q4QFTbc+c2c=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d70bd19e0a38ad4790d3913bf08fcbfc9eeca507", "rev": "bffc22eb12172e6db3c5dde9e3e5628f8e3e7912",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -188,11 +188,11 @@
"nixpkgs": "nixpkgs_3" "nixpkgs": "nixpkgs_3"
}, },
"locked": { "locked": {
"lastModified": 1734546875, "lastModified": 1736515725,
"narHash": "sha256-6OvJbqQ6qPpNw3CA+W8Myo5aaLhIJY/nNFDk3zMXLfM=", "narHash": "sha256-4P99yL8vGehwzytkpP87eklBePt6aqeEC5JFsIzhfUs=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "ed091321f4dd88afc28b5b4456e0a15bd8374b4d", "rev": "f214c1b76c347a4e9c8fb68c73d4293a6820d125",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -5,7 +5,7 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
lix-module = { lix-module = {
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.91.1-1.tar.gz"; url = "https://git.lix.systems/lix-project/nixos-module/archive/2.91.1-2.tar.gz";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };

View file

@ -74,6 +74,7 @@ inputs.nixpkgs.lib.nixosSystem {
# netbird.enable = true; See netbird.nix (I can't access the sops stuff from here?) # netbird.enable = true; See netbird.nix (I can't access the sops stuff from here?)
obsidian.enable = true; obsidian.enable = true;
openrgb.enable = true; openrgb.enable = true;
orca-slicer = true;
prusa-slicer.enable = true; prusa-slicer.enable = true;
spotifyd.enable = true; spotifyd.enable = true;
thunderbird.enable = true; thunderbird.enable = true;
@ -93,8 +94,17 @@ inputs.nixpkgs.lib.nixosSystem {
appimage.enable = true; appimage.enable = true;
docker.enable = true; docker.enable = true;
yubikey.enable = true; yubikey.enable = true;
kdeconnect.enable = true; kdeconnect.enable = false;
tailscale.enable = true; tailscale.enable = true;
# TODO: Move this to it's own config file
# Printer stuff
services.printing.enable = true;
services.avahi = {
enable = true;
nssmdns4 = true;
openFirewall = true;
};
} }
]; ];
} }

View file

@ -13,6 +13,12 @@
default = false; default = false;
}; };
}; };
orca-slicer = {
enable = lib.mkEnableOption {
description = "Enable Orca Slicer";
default = false;
};
};
}; };
config = lib.mkIf (config.gui.enable) { config = lib.mkIf (config.gui.enable) {
home-manager.users.${config.user} = lib.mkMerge [ home-manager.users.${config.user} = lib.mkMerge [
@ -27,6 +33,11 @@
pkgs.bambu-studio pkgs.bambu-studio
]; ];
}) })
(lib.mkIf (config.orca-slicer.enable) {
home.packages = [
pkgs.orca-slicer
];
})
]; ];
}; };
} }