Compare commits

...

6 Commits

7 changed files with 65 additions and 5 deletions

38
flake.lock generated
View File

@ -1,5 +1,24 @@
{
"nodes": {
"home-manager": {
"inputs": {
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1732466619,
"narHash": "sha256-T1e5oceypZu3Q8vzICjv1X/sGs9XfJRMW5OuXHgpB3c=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "f3111f62a23451114433888902a55cf0692b408d",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "release-24.11",
"repo": "home-manager",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1731755305,
@ -16,9 +35,26 @@
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1732350895,
"narHash": "sha256-GcOQbOgmwlsRhpLGSwZJwLbo3pu9ochMETuRSS1xpz4=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "0c582677378f2d9ffcb01490af2f2c678dcb29d3",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-24.11",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
"home-manager": "home-manager",
"nixpkgs": "nixpkgs_2"
}
}
},

View File

@ -1,9 +1,10 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
home-manager.url = "github:nix-community/home-manager/release-24.11";
};
outputs = inputs @ { self, nixpkgs }: {
outputs = inputs @ { self, nixpkgs, ... }: {
nixosConfigurations.affogato = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [

View File

@ -5,6 +5,7 @@
../../profiles/base
../../profiles/graphical
../../profiles/kde
../../profiles/home-manager
../../users/transcaffeine
../../users/leona
];
@ -18,7 +19,7 @@
boot.kernelParams = [
"fbcon=rotate:1"
# disable panel self refresh for i915
# "i915.enable_psr=0"
"i915.enable_psr=0"
# set max cstate to 2 (suspend?)
# "intel_idle.max_cstate=2"
"nvme.noacpi=1"
@ -30,6 +31,7 @@
"78.94.116.221" = [
"git.finally.coffee"
"chat.finallycoffee.eu"
"matrix.finallycoffee.eu"
"cloud.finallycoffee.eu"
];
};

View File

@ -20,10 +20,13 @@
};
};
environment.shellAliases = {
"nixos-switch" = "nixos-rebuild switch --flake .#";
"nixos-switch" = "sudo nixos-rebuild switch --flake .#";
"nom-affogato" = "nom build .#nixosConfigurations.affogato.config.system.build.toplevel";
};
environment.variables = {
EDITOR = "vim";
VISUAL = "vim";
};
environment.systemPackages = with pkgs; [
python3
vim

View File

@ -0,0 +1,5 @@
{ inputs, config, pkgs, ... }: {
imports = [ inputs.home-manager.nixosModules.home-manager ];
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
}

View File

@ -22,4 +22,5 @@
nix-diff
];
};
home-manager.users.transcaffeine = import ./home-manager.nix;
}

View File

@ -0,0 +1,12 @@
{ lib, pkgs, ... }: {
home.stateVersion = "24.11";
services.darkman = {
enable = true;
settings = {
lat = 49.0800;
lng = 8.23300;
portal = true;
dbusserver = true;
};
};
}