diff --git a/flake.lock b/flake.lock index 6ae1274..9104fa4 100644 --- a/flake.lock +++ b/flake.lock @@ -6,11 +6,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1725841979, - "narHash": "sha256-SXYqzpHPuXFR6w/cUKo3VN8XRn6XA2mGbdRXs9oLk6k=", + "lastModified": 1727303518, + "narHash": "sha256-lO5JMynTxNZxg/+E4/Y9reeLGIz/M8cEue+Re4cP6qo=", "owner": "Aylur", "repo": "ags", - "rev": "aaef50bb2c80ef4b4a359329d72669a95e7c4796", + "rev": "cd543afec4d9ed708990e5ba52184716809bf248", "type": "github" }, "original": { @@ -94,11 +94,11 @@ }, "locked": { "dir": "pkgs/firefox-addons", - "lastModified": 1727247223, - "narHash": "sha256-Q0K2S5lZpZTLjw7NWXE0b15pxIVh/jBtZeKnXbZoBds=", + "lastModified": 1727347763, + "narHash": "sha256-UPqm89SvmXiDR9dEQlhtGY0QYerxdAJNWidiWsXTq6s=", "owner": "rycee", "repo": "nur-expressions", - "rev": "139fed712a9e285e3500a047a35753502cf678da", + "rev": "b943fa9c8f55528ec579ae112aac95d4c061e160", "type": "gitlab" }, "original": { @@ -200,11 +200,11 @@ ] }, "locked": { - "lastModified": 1727246346, - "narHash": "sha256-TcUaKtya339Asu+g6KTJ8h7KiKcKXKp2V+At+7tksyY=", + "lastModified": 1727346017, + "narHash": "sha256-z7OCFXXxIseJhEHiCkkUOkYxD9jtLU8Kf5Q9WC0SjJ8=", "owner": "nix-community", "repo": "home-manager", - "rev": "1e22ef1518fb175d762006f9cae7f6312b8caedb", + "rev": "c124568e1054a62c20fbe036155cc99237633327", "type": "github" }, "original": { @@ -357,11 +357,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1726937504, - "narHash": "sha256-bvGoiQBvponpZh8ClUcmJ6QnsNKw0EMrCQJARK3bI1c=", + "lastModified": 1727122398, + "narHash": "sha256-o8VBeCWHBxGd4kVMceIayf5GApqTavJbTa44Xcg5Rrk=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "9357f4f23713673f310988025d9dc261c20e70c6", + "rev": "30439d93eb8b19861ccbe3e581abf97bdc91b093", "type": "github" }, "original": { @@ -468,11 +468,11 @@ "tinted-tmux": "tinted-tmux" }, "locked": { - "lastModified": 1727218376, - "narHash": "sha256-vRYd45uOqzXDaSt8M50hLcsBqIWbEMsflfHk/a1nYA8=", + "lastModified": 1727362643, + "narHash": "sha256-Ceiq/aYjRlRBU677lBaemn8ZU2Jpr08Iso6UlBc9nFc=", "owner": "danth", "repo": "stylix", - "rev": "cf8b6e2d4e8aca8ef14b839a906ab5eb98b08561", + "rev": "e3eb7fdf8d129ff3676dfbc84ee1262322ca6fb4", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 9d662b7..11d3107 100644 --- a/flake.nix +++ b/flake.nix @@ -21,24 +21,32 @@ }; }; - outputs = { self, nixpkgs, nix-on-droid, ags, stylix, home-manager, ... } @ inputs: let - systemConfig = { modules }: + outputs = { + self, + nixpkgs, + nix-on-droid, + ags, + stylix, + home-manager, + ... + } @ inputs: let + systemConfig = {modules}: nixpkgs.lib.nixosSystem { - specialArgs = { inherit inputs; }; + specialArgs = {inherit inputs;}; modules = modules ++ [stylix.nixosModules.stylix home-manager.nixosModules.default]; }; in { nixOnDroidConfigurations.default = nix-on-droid.lib.nixOnDroidConfiguration { - pkgs = import nixpkgs { system = "aarch64-linux"; }; - modules = [ ./hosts/phone]; + pkgs = import nixpkgs {system = "aarch64-linux";}; + modules = [./hosts/phone]; }; nixosConfigurations = { desktop = systemConfig { - modules = [ ./hosts/desktop ]; + modules = [./hosts/desktop]; }; laptop = systemConfig { - modules = [ ./hosts/laptop ]; + modules = [./hosts/laptop]; }; }; }; diff --git a/hosts/phone/default.nix b/hosts/phone/default.nix index cadd1f8..cda0f71 100644 --- a/hosts/phone/default.nix +++ b/hosts/phone/default.nix @@ -1,6 +1,9 @@ -{ config, lib, pkgs, ... }: - { + config, + lib, + pkgs, + ... +}: { # Simply install just the packages environment.packages = with pkgs; [ # User-facing stuff that you really really want to have @@ -52,17 +55,16 @@ # Set your time zone time.timeZone = "Europe/Berlin"; - - home-manager.config = { + home-manager.config = { home.stateVersion = "24.05"; - + imports = [ ./home ]; - # config = ./home.nix; + # config = ./home.nix; }; - + user.shell = "${pkgs.zsh}/bin/zsh"; terminal = { @@ -72,4 +74,3 @@ }; }; } - diff --git a/hosts/phone/home/default.nix b/hosts/phone/home/default.nix index 90545b6..18d7899 100644 --- a/hosts/phone/home/default.nix +++ b/hosts/phone/home/default.nix @@ -1,11 +1,7 @@ -{ inputs, ... }: - -{ - +{inputs, ...}: { imports = [ ./zsh ./git ./helix ]; - -} +} diff --git a/hosts/phone/home/git/default.nix b/hosts/phone/home/git/default.nix index a19923b..e445a5c 100644 --- a/hosts/phone/home/git/default.nix +++ b/hosts/phone/home/git/default.nix @@ -1,4 +1,4 @@ -{ ...}: { +{...}: { programs.git = { enable = true; userEmail = "mail@joygnu.org"; diff --git a/hosts/phone/home/helix/default.nix b/hosts/phone/home/helix/default.nix index 079ddbd..aac99a5 100644 --- a/hosts/phone/home/helix/default.nix +++ b/hosts/phone/home/helix/default.nix @@ -1,14 +1,13 @@ -{ ... }: -{ +{...}: { programs.helix = { enable = true; defaultEditor = true; settings = { - theme = "gruvbox"; + theme = "gruvbox"; keys.normal = { space.space = "file_picker"; - Z.Z = ":wq"; - Z.Q = ":q!"; + Z.Z = ":wq"; + Z.Q = ":q!"; }; }; }; diff --git a/hosts/phone/home/zsh/default.nix b/hosts/phone/home/zsh/default.nix index 9c03ecd..5c7ac13 100644 --- a/hosts/phone/home/zsh/default.nix +++ b/hosts/phone/home/zsh/default.nix @@ -1,6 +1,4 @@ -{ pkgs, ... } : - -{ +{pkgs, ...}: { programs.zsh = { enable = true; enableCompletion = true; @@ -8,7 +6,7 @@ historySubstringSearch.enable = true; dotDir = ".config/zsh"; initExtra = "PROMPT='%F{green}%~%f '"; - + shellAliases = { v = "hx"; ser = "ssh root@joygnu.org"; @@ -21,10 +19,9 @@ oh-my-zsh = { enable = true; - plugins = [ -# "history-substring-search" + plugins = [ + # "history-substring-search" ]; }; - }; } diff --git a/modules/apps/gui/games/norisk/default.nix b/modules/apps/gui/games/norisk/default.nix index 980b249..75c93ce 100644 --- a/modules/apps/gui/games/norisk/default.nix +++ b/modules/apps/gui/games/norisk/default.nix @@ -8,11 +8,12 @@ // { noriskclient = pkgs.appimageTools.wrapType1 { name = "noriskclient"; - version = "0.5.6"; + version = "0.5.10"; src = pkgs.fetchurl { - url = "https://github.com/NoRiskClient/noriskclient-launcher/releases/download/v0.5.6/NoRiskClient-Linux.AppImage"; - hash = "sha256-viZUbm7cwueFB2Hp+uJ/QICXzO+oDTU6ODaOXwyCIb4="; + url = "https://github.com/NoRiskClient/noriskclient-launcher/releases/download/v0.5.10/NoRiskClient-Linux.AppImage"; + hash = "sha256-y5kXP3kEW0UsV04JBeJCvSOuJf3/zo5s7ZigOpxbwkk="; + }; }; };