1773267079

This commit is contained in:
2026-03-11 16:11:19 -06:00
parent 14c39cd025
commit 0bd86a067f
7 changed files with 47 additions and 32 deletions
+4 -2
View File
@@ -15,8 +15,10 @@
./modules/home.nix
];
nix.settings.experimental-features = [ "nix-command" "flakes" ];
# xdg.portal.config.common.default = [ "cosmic" ];
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
system.stateVersion = "25.11";
}
+16 -10
View File
@@ -9,16 +9,16 @@
url = "github:nix-community/home-manager/release-25.11";
inputs.nixpkgs.follows = "nixpkgs";
};
cosmic-manager = {
url = "github:HeitorAugustoLN/cosmic-manager";
inputs = {
nixpkgs.follows = "nixpkgs";
home-manager.follows = "home-manager";
};
};
};
outputs = { self, nixpkgs, nixpkgs-unstable, home-manager, ... }@inputs:
outputs =
{
self,
nixpkgs,
nixpkgs-unstable,
home-manager,
...
}@inputs:
let
settings = import ./settings.nix;
system = "x86_64-linux";
@@ -28,12 +28,18 @@
config.allowUnfree = true;
};
};
in {
in
{
nixosConfigurations."${settings.hostname}" = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = { inherit inputs; };
modules = [
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
(
{ ... }:
{
nixpkgs.overlays = [ overlay-unstable ];
}
)
./configuration.nix
home-manager.nixosModules.home-manager
];
+1 -2
View File
@@ -1,9 +1,8 @@
{ inputs, ... }:
{ ... }:
let
settings = import ../settings.nix;
homeModules = [
inputs.cosmic-manager.homeManagerModules.cosmic-manager
./home/session.nix
./home/packages.nix
./home/git.nix
+3 -8
View File
@@ -18,17 +18,15 @@
"nf" = "neofetch";
};
programs.bash = {
enable = true;
};
programs.zsh = {
enable = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
historySubstringSearch.enable = true;
};
programs.starship = {
enable = true;
enableBashIntegration = true;
enableZshIntegration = true;
settings = {
add_newline = false;
@@ -41,13 +39,11 @@
programs.zoxide = {
enable = true;
enableBashIntegration = true;
enableZshIntegration = true;
};
programs.eza = {
enable = true;
enableBashIntegration = true;
enableZshIntegration = true;
git = true;
icons = "auto";
@@ -62,7 +58,6 @@
programs.direnv = {
enable = true;
enableBashIntegration = true;
enableZshIntegration = true;
nix-direnv.enable = true;
};
+10 -1
View File
@@ -1,6 +1,14 @@
{ config, ... }:
{ config, pkgs, ... }:
{
gtk = {
enable = true;
iconTheme = {
name = "Papirus-Dark";
package = pkgs.papirus-icon-theme;
};
};
dconf.settings = {
"org/gnome/desktop/interface" = {
color-scheme = "prefer-dark";
@@ -8,6 +16,7 @@
clock-show-weekday = true;
clock-show-date = true;
clock-format = "12h";
icon-theme = "Papirus-Dark";
};
"org/gnome/system/location" = {
+3
View File
@@ -4,6 +4,9 @@
# Enable unfree globally
nixpkgs.config.allowUnfree = true;
# Enable zsh globally
programs.zsh.enable = true;
environment.systemPackages = with pkgs; [
killall
usbutils
+2 -1
View File
@@ -1,4 +1,4 @@
{ ... }:
{ pkgs, ... }:
let
settings = import ../settings.nix;
@@ -10,6 +10,7 @@ in
isNormalUser = true;
description = settings.userDescription;
extraGroups = settings.userGroups;
shell = pkgs.zsh;
};
# Security