diff --git a/README.md b/README.md index 1e250c1..8ea99bb 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ # setup-machines -This repo contains all the tools to correctly setup all the needed tools on a machine from clean install \ No newline at end of file +This repo contains all the tools to correctly setup all the needed tools on a machine from clean install + +```sh +home-manager switch --flake .#noahk@NixOS_Desktop +``` diff --git a/flake.nix b/flake.nix index 502609c..be02b2f 100644 --- a/flake.nix +++ b/flake.nix @@ -2,9 +2,9 @@ description = "A very basic flake"; inputs = { - nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05"; + nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11"; - home-manager.url = "github:nix-community/home-manager/release-24.05"; + home-manager.url = "github:nix-community/home-manager/release-24.11"; home-manager.inputs.nixpkgs.follows = "nixpkgs"; }; diff --git a/home-manager/home.nix b/home-manager/home.nix index ca10f03..d4e5331 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -14,6 +14,8 @@ # You can also split up your configuration and import pieces of it here: # ./nvim.nix + + ./spotify.nix ]; nixpkgs = { @@ -55,5 +57,5 @@ systemd.user.startServices = sd-switch; # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion - home.stateVersion = 24.05; + home.stateVersion = 24.11; } diff --git a/home-manager/spotify.nix b/home-manager/spotify.nix new file mode 100644 index 0000000..23fa672 --- /dev/null +++ b/home-manager/spotify.nix @@ -0,0 +1,5 @@ +{ pkgs, ... }: { + programs.spotify = { + enable = true; + } +} \ No newline at end of file diff --git a/nixos/configuration.nix b/nixos/configuration.nix index bea3c6c..11deb42 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -117,6 +117,6 @@ # this value at the release version of the first install of this system. # Before changing this value read the documentation for this option # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). - system.stateVersion = "24.05"; # Did you read the comment? + system.stateVersion = "24.11"; # Did you read the comment? }