try cosmic

This commit is contained in:
2025-08-29 20:35:43 -05:00
parent b52c8dff65
commit f850d4ff1a
3 changed files with 19 additions and 11 deletions

View File

@@ -45,6 +45,7 @@
outputs = { self, nixpkgs, home-manager, ... } @ inputs: { outputs = { self, nixpkgs, home-manager, ... } @ inputs: {
nixosConfigurations = { nixosConfigurations = {
homebox = nixpkgs.lib.nixosSystem { homebox = nixpkgs.lib.nixosSystem {
@@ -177,5 +178,7 @@
}; };
}; };
}; };
iso = self.nixosConfigurations.iso.config.system.build.images.iso;
}; };
} }

View File

@@ -2,14 +2,8 @@
imports = with inputs; [ imports = with inputs; [
disko.nixosModules.default
(import ./disko.nix { device = "/dev/mmcblk0"; })
(modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix") (modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix")
sops-nix.nixosModules.sops
home-manager.nixosModules.default home-manager.nixosModules.default
]; ];
@@ -25,14 +19,21 @@
}; };
}; };
users.users."nathan" = {
hashedPassword = "$y$j9T$F0pn6l4C45lz4a0FTZLqE0$Fc48Ptbmz/3MJCk/Jsaqop4ff.bY3J3GcjhmJx5R7k6";
packages = with pkgs; [
git
inputs.disko.packages.${pkgs.system}.disko
inputs.disko.packages.${pkgs.system}.disko-install
];
};
sysconfig = { sysconfig = {
remoteBuildClient = true; host = "iso";
host = "live";
graphical = true; graphical = true;
users = { users = {
nathan = { nathan = {
extraGroups = [ "wheel" "networkmanager" ]; extraGroups = [ "wheel" "networkmanager" ];
hashedPasswordFile = config.sops.secrets."nathan/pass".path;
shell = pkgs.zsh; shell = pkgs.zsh;
home-manager = { home-manager = {
enable = true; enable = true;
@@ -46,10 +47,9 @@
wal.enable = true; wal.enable = true;
mpd.enable = true; mpd.enable = true;
hyprpanel.enable = true; hyprpanel.enable = true;
calcurse.enable = true;
rofi.enable = true; rofi.enable = true;
firefox.enable = true; firefox.enable = true;
git.enable = true; git.enable = false;
nh.enable = true; nh.enable = true;
}; };
} }

View File

@@ -12,6 +12,11 @@
config = { config = {
services.desktopManager.cosmic = {
enable = true;
xwayland.enable = true;
};
nixpkgs.config = { nixpkgs.config = {
allowUnfree = true; allowUnfree = true;
}; };