summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Kaiser2025-02-15 16:07:28 +0100
committerDominik Kaiser2025-02-15 16:07:28 +0100
commit61a06f286ae470acce6c93703f4e535ac5d9e3a7 (patch)
tree5f4e2c164d8ecc61993e4af99a8518487318224e
parenta824e71e916af255ed3a610dc02df944969f218a (diff)
downloadnixos-61a06f286ae470acce6c93703f4e535ac5d9e3a7.tar.gz
nixos-61a06f286ae470acce6c93703f4e535ac5d9e3a7.zip
Fix FIXMEs
-rw-r--r--flake.lock16
-rw-r--r--flake.nix12
-rw-r--r--home-manager/home.nix7
3 files changed, 15 insertions, 20 deletions
diff --git a/flake.lock b/flake.lock
index 8f0e1a1..8c1a41a 100644
--- a/flake.lock
+++ b/flake.lock
@@ -7,32 +7,32 @@
]
},
"locked": {
- "lastModified": 1714043624,
- "narHash": "sha256-Xn2r0Jv95TswvPlvamCC46wwNo8ALjRCMBJbGykdhcM=",
+ "lastModified": 1739570999,
+ "narHash": "sha256-eCc0/Q4bPpe4/AS+uzIrHLJcR6BxPQ69q2kD0/Qe6rU=",
"owner": "nix-community",
"repo": "home-manager",
- "rev": "86853e31dc1b62c6eeed11c667e8cdd0285d4411",
+ "rev": "254d47082e23dbf72fdeca1da6fe1da420f478d8",
"type": "github"
},
"original": {
"owner": "nix-community",
- "ref": "release-23.11",
+ "ref": "release-24.11",
"repo": "home-manager",
"type": "github"
}
},
"nixpkgs": {
"locked": {
- "lastModified": 1713995372,
- "narHash": "sha256-fFE3M0vCoiSwCX02z8VF58jXFRj9enYUSTqjyHAjrds=",
+ "lastModified": 1739484910,
+ "narHash": "sha256-wjWLzdM7PIq4ZAe7k3vyjtgVJn6b0UeodtRFlM/6W5U=",
"owner": "nixos",
"repo": "nixpkgs",
- "rev": "dd37924974b9202f8226ed5d74a252a9785aedf8",
+ "rev": "0b73e36b1962620a8ac551a37229dd8662dac5c8",
"type": "github"
},
"original": {
"owner": "nixos",
- "ref": "nixos-23.11",
+ "ref": "nixos-24.11",
"repo": "nixpkgs",
"type": "github"
}
diff --git a/flake.nix b/flake.nix
index e1f978d..65a7b17 100644
--- a/flake.nix
+++ b/flake.nix
@@ -3,10 +3,10 @@
inputs = {
# Nixpkgs
- nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
+ nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
# Home manager
- home-manager.url = "github:nix-community/home-manager/release-23.11";
+ home-manager.url = "github:nix-community/home-manager/release-24.11";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
};
@@ -21,10 +21,8 @@
# NixOS configuration entrypoint
# Available through 'nixos-rebuild --flake .#your-hostname'
nixosConfigurations = {
- # FIXME replace with your hostname
- your-hostname = nixpkgs.lib.nixosSystem {
+ sol = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs outputs;};
- # > Our main nixos configuration file <
modules = [./nixos/configuration.nix];
};
};
@@ -32,11 +30,9 @@
# Standalone home-manager configuration entrypoint
# Available through 'home-manager --flake .#your-username@your-hostname'
homeConfigurations = {
- # FIXME replace with your username@hostname
- "your-username@your-hostname" = home-manager.lib.homeManagerConfiguration {
+ "dk@sol" = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.x86_64-linux; # Home-manager requires 'pkgs' instance
extraSpecialArgs = {inherit inputs outputs;};
- # > Our main home-manager configuration file <
modules = [./home-manager/home.nix];
};
};
diff --git a/home-manager/home.nix b/home-manager/home.nix
index 5f20559..23b37cc 100644
--- a/home-manager/home.nix
+++ b/home-manager/home.nix
@@ -38,10 +38,9 @@
};
};
- # TODO: Set your username
home = {
- username = "your-username";
- homeDirectory = "/home/your-username";
+ username = "dk";
+ homeDirectory = "/home/dk";
};
# Add stuff for your user as you see fit:
@@ -56,5 +55,5 @@
systemd.user.startServices = "sd-switch";
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
- home.stateVersion = "23.05";
+ home.stateVersion = "24.11";
}