Skip to content

Commit

Permalink
Add cosmic DE
Browse files Browse the repository at this point in the history
  • Loading branch information
b3nj5m1n committed Aug 11, 2024
1 parent 4b19fce commit 579c408
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 4 deletions.
83 changes: 80 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
dwarffs.url = "github:edolstra/dwarffs";

pfui.url = "github:b3nj5m1n/pfui";

nixos-cosmic = {
url = "github:lilyinstarlight/nixos-cosmic";
inputs.nixpkgs.follows = "nixpkgs";
};
};

outputs = {
Expand All @@ -42,6 +47,7 @@
sops-nix,
dwarffs,
pfui,
nixos-cosmic,
...
} @ inputs: let
inherit (self) outputs;
Expand Down Expand Up @@ -107,6 +113,13 @@
# I know it's Adélie
specialArgs = {inherit inputs outputs;};
modules = [
{
nix.settings = {
substituters = [ "https://cosmic.cachix.org/" ];
trusted-public-keys = [ "cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE=" ];
};
}
nixos-cosmic.nixosModules.default
# dwarffs.nixosModules.dwarffs
./nix/nixos/adelie.nix
sops-nix.nixosModules.sops
Expand Down
2 changes: 1 addition & 1 deletion nix/modules/nixos/networking.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
allowedTCPPorts = [22 30021];
};
networking.wireless.userControlled.enable = true;
networking.wireless.enable = true;
# networking.wireless.enable = true;
networking.wireless.extraConfig = ''
'';
Expand Down
2 changes: 2 additions & 0 deletions nix/nixos/adelie.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
../hardware/x270.nix
];

services.desktopManager.cosmic.enable = true;

nixpkgs = {
overlays = [
outputs.overlays.modifications
Expand Down

0 comments on commit 579c408

Please sign in to comment.