summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomuus <tomasz1.mrozinski@proton.me>2025-12-06 23:07:20 +0100
committerTomuus <tomasz1.mrozinski@proton.me>2025-12-06 23:07:20 +0100
commit4f2bc4559b28a4ab70a87b23375394d5cfa0cf5b (patch)
treee8ffcd98fec845e7de8d8c65cb4f51262b38fc63
parent865ad7ddec4ef3a6d349b1478ab22f826bae0546 (diff)
Added plasma to macbook
Fucking quickshell dependency
-rw-r--r--flake.nix35
-rw-r--r--hosts/Makbuk/configuration.nix7
2 files changed, 24 insertions, 18 deletions
diff --git a/flake.nix b/flake.nix
index 9281484..0073317 100644
--- a/flake.nix
+++ b/flake.nix
@@ -27,51 +27,53 @@
outputs = { self, nixpkgs, home-manager, nvf, quickshell, spicetify-nix, nixpkgs-unstable, caelestiaShell, ... } @ inputs:
let
- system = "x86_64-linux";
- pkgs = nixpkgs.legacyPackages.${system};
- unstbl = nixpkgs-unstable.legacyPackages.${system};
+# pkgs = nixpkgs.legacyPackages.${system};
+# unstbl = nixpkgs-unstable.legacyPackages.${system};
mods = ./modules; # Just so i can import modules everywhere i want without big paths
userName = "tomus";
fullName = "Tomus";
in
{
- packages.${system}.nvf =
- (nvf.lib.neovimConfiguration {
- pkgs = nixpkgs.legacyPackages.${system};
- modules = [ ./home/nix-managed/nvf.nix ];
- }).neovim;
+ # packages.${system}.nvf =
+ # (nvf.lib.neovimConfiguration {
+ # pkgs = nixpkgs.legacyPackages.${system};
+ # modules = [ ./home/nix-managed/nvf.nix ];
+ # }).neovim;
nixosConfigurations = {
Latitude7310 = nixpkgs.lib.nixosSystem {
- specialArgs = { inherit inputs mods unstbl userName fullName; };
+ system = "x86_64-linux";
+ specialArgs = { inherit inputs mods userName fullName; };
modules = [
./hosts/Latitude7310/configuration.nix
nvf.nixosModules.default
home-manager.nixosModules.home-manager { home-manager.users.${userName} = import ./home { inherit userName fullName; }; } #If it works DON'T TOUCH IT
{
environment.systemPackages = [
- self.packages.${system}.nvf
+ #self.packages.${system}.nvf
];
}
];
};
Desktop3060ti = nixpkgs.lib.nixosSystem {
- specialArgs = { inherit inputs mods unstbl userName fullName; };
+ system = "x86_64-linux";
+ specialArgs = { inherit inputs mods userName fullName; };
modules = [
./hosts/Desktop3060ti/configuration.nix
nvf.nixosModules.default
home-manager.nixosModules.home-manager { home-manager.users.${userName} = import ./home { inherit userName fullName; }; }
{
environment.systemPackages = [
- self.packages.${system}.nvf
+ #self.packages.${system}.nvf
];
}
];
};
Latitude5410 = nixpkgs.lib.nixosSystem {
- specialArgs = { inherit inputs mods unstbl userName fullName; };
+ system = "x86_64-linux";
+ specialArgs = { inherit inputs mods userName fullName; };
modules = [
./hosts/Latitude5410/configuration.nix
inputs.spicetify-nix.nixosModules.default
@@ -79,16 +81,17 @@
home-manager.nixosModules.home-manager { home-manager.users.${userName} = import ./home { inherit userName fullName; }; }
{
environment.systemPackages = [
- self.packages.${system}.nvf
+ #self.packages.${system}.nvf
];
}
];
};
Makbuk = nixpkgs.lib.nixosSystem {
- specialArgs = { inherit inputs mods unstbl userName fullName; };
+ system = "aarch64-linux";
+ specialArgs = { inherit inputs mods userName fullName; };
modules = [
- ./hosts/Makbuk.configuration.nix
+ ./hosts/Makbuk/configuration.nix
#nvf.nixosModules.default
home-manager.nixosModules.home-manager { home-manager.users.${userName} = import ./home { inherit userName fullName; }; } #If it works DON'T TOUCH IT
{
diff --git a/hosts/Makbuk/configuration.nix b/hosts/Makbuk/configuration.nix
index d39bd62..194b534 100644
--- a/hosts/Makbuk/configuration.nix
+++ b/hosts/Makbuk/configuration.nix
@@ -5,12 +5,14 @@
{
imports = [
./hardware-configuration.nix
+ ./apple-silicon-support
# ./packages.nix
# ./cal.nix
./../common
# ./tata.nix
-# "${mods}/dev/cpp.nix"
-# "${mods}/de/hyprland"
+ "${mods}/dm/sddm.nix"
+ "${mods}/de/plasma6.nix"
+ "${mods}/de/hyprland"
# "${mods}/bluetooth.nix"
];
networking.hostName = "Makbuk";
@@ -19,6 +21,7 @@
enable = true;
settings.General.EndableNetworkConfiguration = true;
};
+ nixpkgs.config.allowUnsupportedSystem = true;
hardware.asahi.peripheralFirmwareDirectory = ./firmware;
}