added Jovian-NixOS

This commit is contained in:
willifan 2024-11-02 15:48:48 +01:00
parent a7bfc8c394
commit 0b1331c6d4
9 changed files with 89 additions and 2 deletions

44
flake.lock generated
View file

@ -344,6 +344,27 @@
"type": "github" "type": "github"
} }
}, },
"jovian": {
"inputs": {
"nix-github-actions": "nix-github-actions",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1730441026,
"narHash": "sha256-xmZQFGeIm2TzXv4jGaQ3nfBoUbt4gKbIv/SHVWw93ag=",
"owner": "Jovian-Experiments",
"repo": "Jovian-NixOS",
"rev": "bd1da5657b8903b293a0ff51eb896a91a544ebed",
"type": "github"
},
"original": {
"owner": "Jovian-Experiments",
"repo": "Jovian-NixOS",
"type": "github"
}
},
"nix-darwin": { "nix-darwin": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -365,6 +386,28 @@
"type": "github" "type": "github"
} }
}, },
"nix-github-actions": {
"inputs": {
"nixpkgs": [
"jovian",
"nixpkgs"
]
},
"locked": {
"lastModified": 1729697500,
"narHash": "sha256-VFTWrbzDlZyFHHb1AlKRiD/qqCJIripXKiCSFS8fAOY=",
"owner": "zhaofengli",
"repo": "nix-github-actions",
"rev": "e418aeb728b6aa5ca8c5c71974e7159c2df1d8cf",
"type": "github"
},
"original": {
"owner": "zhaofengli",
"ref": "matrix-name",
"repo": "nix-github-actions",
"type": "github"
}
},
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1728729581, "lastModified": 1728729581,
@ -466,6 +509,7 @@
"inputs": { "inputs": {
"disko": "disko", "disko": "disko",
"home-manager": "home-manager", "home-manager": "home-manager",
"jovian": "jovian",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nixvim": "nixvim", "nixvim": "nixvim",

View file

@ -31,6 +31,11 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
jovian = {
url = "github:Jovian-Experiments/Jovian-NixOS";
inputs.nixpkgs.follows = "nixpkgs";
};
# # Secrets management. See ./docs/secretsmgmt.md # # Secrets management. See ./docs/secretsmgmt.md
# sops-nix = { # sops-nix = {
# url = "github:mic92/sops-nix"; # url = "github:mic92/sops-nix";
@ -156,6 +161,7 @@
attrs.disko.nixosModules.disko attrs.disko.nixosModules.disko
attrs.stylix.nixosModules.stylix attrs.stylix.nixosModules.stylix
attrs.nixvim.nixosModules.nixvim attrs.nixvim.nixosModules.nixvim
attrs.jovian.nixosModules.default
./hosts ./hosts
./users/willifan ./users/willifan
]; ];

View file

@ -1,4 +1,7 @@
{ ... }: { ... }:
{ {
imports = [
./jovian.nix
];
} }

View file

@ -0,0 +1,17 @@
{ ... }:
{
jovian = {
decky-loader.enable = true;
devices.steamdeck = {
enable = true;
enableGyroDsuService = true;
};
hardware.has.amd = true;
steam = {
enable = true;
autoStart = true;
desktopSession = "Hyprland";
};
};
}

View file

@ -10,7 +10,6 @@
./web ./web
./applications.nix ./applications.nix
./autologin.nix
./kitty.nix ./kitty.nix
./thunar.nix ./thunar.nix
]; ];

View file

@ -2,6 +2,7 @@
{ {
imports = [ imports = [
./autologin.nix
./hypridle.nix ./hypridle.nix
./hyprlock.nix ./hyprlock.nix
./kanshi.nix ./kanshi.nix

View file

@ -0,0 +1,13 @@
{ ... }:
{
services.greetd = {
enable = true;
settings = rec {
initial_session = {
command = ''Hyprland'';
user = "willifan";
};
default_session = initial_session;
};
};
}

View file

@ -1,4 +1,8 @@
{ ... }: { ... }:
{ {
imports = [
./autologin.nix
];
} }